---
id: CVE-2024-47723
title: |-
  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 i…
summary: |-
  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 i…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.12, < 5.10.227'
  - 'linux_kernel >= 5.11, < 5.15.168'
  - 'linux_kernel >= 5.16, < 6.1.113'
  - 'linux_kernel >= 6.2, < 6.6.54'
  - 'linux_kernel >= 6.7, < 6.10.13'
  - 'linux_kernel >= 6.11, < 6.11.2'
patched:
  - linux_kernel 6.11.2
published: '2024-10-21'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:57.280'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-47723'
references:
  - url: 'https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5ad6284c8d433f8a213111c5c44ead4d9705b622'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00287
epssPercentile: 0.21145
ingestedAt: '2026-10-15T03:30:12.749Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-10-21T13:01:38.378971Z'
---

## Overview

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

- `linux_kernel >= 2.6.12, < 5.10.227`
- `linux_kernel >= 5.11, < 5.15.168`
- `linux_kernel >= 5.16, < 6.1.113`
- `linux_kernel >= 6.2, < 6.6.54`
- `linux_kernel >= 6.7, < 6.10.13`
- `linux_kernel >= 6.11, < 6.11.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.2`
