CVE-2024-47723: jfs: fix out-of-bounds in dbNextAG() and diAlloc()
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix out-of-bounds in dbNextAG() and diAlloc()
In dbNextAG() , there is no check for the case where bmp->db_numag is
greater or same than MAXAG due to a polluted image, which causes an
out-of-bounds. Therefore, a bounds check should be added in dbMount().
And in dbNextAG(), a check for the case where agpref is greater than
bmp->db_numag should be added, so an out-of-bounds exception should be
prevented.
Additionally, a check for the case where agno is greater or same than
MAXAG should be added in diAlloc() to prevent out-of-bounds.
Security readout for executives and security teams
Plain-English summary
A malformed or corrupted JFS filesystem image can make the Linux kernel access memory outside expected boundaries. An attacker with local, low-privilege access could potentially affect system confidentiality, integrity, and availability. This is not described as a remote, unauthenticated vulnerability.
Executive priority
Treat as a high-priority kernel maintenance issue on systems using JFS, especially shared hosts or appliances processing filesystem images. It is less urgent than an unauthenticated remote flaw because local access and JFS-related conditions are required. Schedule prompt patching through supported vendor channels.
Technical view
Invalid JFS allocation-group metadata can trigger out-of-bounds access in dbNextAG() and diAlloc(). The kernel fixes validate db_numag during dbMount(), check agpref against db_numag, and reject agno values at or above MAXAG. CVSS 3.1 is 7.8: local access, low complexity, low privileges, no user interaction, and high impact.
Likely exposure
Exposure is most likely where affected Linux kernels use JFS or process polluted JFS filesystem images. The supplied version data spans multiple kernel branches but does not provide reliable distribution-package mappings. Systems not using JFS have substantially reduced practical exposure, though administrators should confirm configuration and vendor status.
Exploitation context
The supplied record requires local access and low privileges. It does not establish a remote attack path. CISA KEV status is false, and no supplied source reports active exploitation or public weaponization. Practical exploitation conditions beyond polluted JFS metadata are not documented here.
Researcher notes
The vulnerable paths trust allocation-group values derived from polluted JFS metadata. Remediation adds three boundary validations covering db_numag, agpref, and agno. The sources do not identify a CWE, demonstrated exploit, crash signature, or precise distribution package matrix; validate those details through relevant vendors.
Mitigation direction
Install a vendor-supported kernel containing the applicable stable JFS fix, then reboot into it.
Check distribution and appliance vendor advisories for package-specific fixed versions.
Restrict untrusted users from supplying or mounting JFS filesystem images where operationally feasible.
Prioritize exposed multi-user systems and appliances confirmed to use JFS.
Validation and detection
Inventory running kernel versions and identify systems with JFS enabled, mounted, or accepted as input.
Compare each kernel package against its distribution advisory and the applicable upstream stable fix.
After updating, confirm the running kernel changed and the superseded vulnerable kernel is not active.
Review vendor advisories for embedded products that may bundle affected Linux kernels.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-47723 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.