CVE-2024-47723

jfs: fix out-of-bounds in dbNextAG() and diAlloc()

HIGH
7.1
CVSS Score
Published: October 21, 2024 at 12:13 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.12 ≤ v < 5.10.2275.11 ≤ v < 5.15.1685.16 ≤ v < 6.1.1136.11 ≤ v < 6.11.26.2 ≤ v < 6.6.546.7 ≤ v < 6.10.131da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 0338e66cba272351ca9d7d03f3628e390e70963b (fixed)
Vendor states this is fixed in 128d5cfdcf844cb690c9295a3a1c1114c21fc15a (fixed)
Vendor states this is fixed in 5ad6284c8d433f8a213111c5c44ead4d9705b622 (fixed)
Vendor states this is fixed in 6ce8b6ab44a8b5918c0ee373d4ad19d19017931b (fixed)
Vendor states this is fixed in 96855f40e152989c9e7c20c4691ace5581098acc (fixed)
Vendor states this is fixed in c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2 (fixed)
Vendor states this is fixed in d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0 (fixed)
Vendor states this is fixed in e63866a475562810500ea7f784099bfe341e761a (fixed)
Vendor states this is fixed in ead82533278502428883085a787d5a00f15e5eb9 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.19.323 (unaffected)
Vendor states this is fixed in 5.10.227 (unaffected)
Vendor states this is fixed in 5.15.168 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.113 (unaffected)
Vendor states this is fixed in 6.10.13 (unaffected)
Vendor states this is fixed in 6.11.2 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.54 (unaffected)

References (13)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card