CVE-2022-50567
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-22

Last updated on: 2025-10-22

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: fs: jfs: fix shift-out-of-bounds in dbAllocAG Syzbot found a crash : UBSAN: shift-out-of-bounds in dbAllocAG. The underlying bug is the missing check of bmp->db_agl2size. The field can be greater than 64 and trigger the shift-out-of-bounds. Fix this bug by adding a check of bmp->db_agl2size in dbMount since this field is used in many following functions. The upper bound for this field is L2MAXL2SIZE - L2MAXAG, thanks for the help of Dave Kleikamp. Note that, for maintenance, I reorganized error handling code of dbMount.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-22
Last Modified
2025-10-22
Generated
2026-05-07
AI Q&A
2025-10-22
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 JFS filesystem code, specifically in the dbAllocAG function. It occurs because the code does not properly check the value of the bmp->db_agl2size field, which can be greater than 64 and cause an invalid bit shift operation. This can lead to crashes or undefined behavior. The issue was fixed by adding a check on bmp->db_agl2size in the dbMount function to ensure it stays within valid bounds.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to crash or behave unpredictably when handling the JFS filesystem, potentially leading to system instability or denial of service. It may affect systems using the JFS filesystem by triggering kernel crashes due to the shift-out-of-bounds error.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart