Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-47723

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5ad6284c8d433f8a213111c5c44ead4d9705b622affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0338e66cba272351ca9d7d03f3628e390e70963baffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ead82533278502428883085a787d5a00f15e5eb9affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6ce8b6ab44a8b5918c0ee373d4ad19d19017931baffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 128d5cfdcf844cb690c9295a3a1c1114c21fc15aaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 96855f40e152989c9e7c20c4691ace5581098accaffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e63866a475562810500ea7f784099bfe341e761aaffected

Linux Linux

Default version status: affected

  • 2.6.12affected
  • 0 to < 2.6.12unaffected
  • 4.19.323 to ≤ 4.19.*unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References