CVE-2022-50497
BaseFortify
Publication date: 2025-10-04
Last updated on: 2025-10-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a shift-out-of-bounds error in the Linux kernel's binfmt_misc component. Specifically, it involves a left shift operation of 1 by 31 places on an 'int' type, which cannot be represented and causes undefined behavior. The issue arises because the macros defining Node's flags were not using the correct unsigned long type, leading to this unsafe shift operation. The vulnerability was fixed by ensuring these macros use the same unsigned long type as the Node's flags.
How can this vulnerability impact me? :
The vulnerability could cause undefined behavior or kernel instability due to the out-of-bounds shift operation. This might lead to system crashes or unexpected behavior when using the binfmt_misc functionality in the Linux kernel, potentially affecting system reliability.