CVE-2024-47723

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Oct 15, 2026
Reserved
Sep 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5ad6284c8d433f8a213111c5c44ead4d9705b622Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0338e66cba272351ca9d7d03f3628e390e70963bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ead82533278502428883085a787d5a00f15e5eb9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6ce8b6ab44a8b5918c0ee373d4ad19d19017931bAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 128d5cfdcf844cb690c9295a3a1c1114c21fc15aAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 96855f40e152989c9e7c20c4691ace5581098accAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e63866a475562810500ea7f784099bfe341e761aAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.54 through 6.6.*Not affected
  • 6.10.13 through 6.10.*Not affected
  • 6.11.2 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.