# CVE-2024-44939: jfs: fix null ptr deref in dtInsertEntry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-30)
- **CWE:** CWE-476
- **Published:** 2024-08-26T11:20:44.129Z
- **Modified:** 2026-08-05T11:37:08.416Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f98bf80b20f4a930589cda48a35f751a64fe0dc2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 53023ab11836ac56fd75f7a71ec1356e50920fa9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6ea10dbb1e6c58384136e9adfd75f81951e423f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c2ac38530d1a3ee558834dfa16c85a40fd0e702; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce6dede912f064a855acf6f04a04cbb2c25b8c8c
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

jfs: fix null ptr deref in dtInsertEntry

\[syzbot reported\]
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 \[\#1\] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range \[0x0000000000000008-0x000000000000000f\]
CPU: 0 PID: 5061 Comm: syz-executor404 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:dtInsertEntry+0xd0c/0x1780 fs/jfs/jfs\_dtree.c:3713
...
\[Analyze\]
In dtInsertEntry(), when the pointer h has the same value as p, after writing
name in UniStrncpy\_to\_le(), p-\>header.flag will be cleared. This will cause the
previously true judgment "p-\>header.flag & BT-LEAF" to change to no after writing
the name operation, this leads to entering an incorrect branch and accessing the
uninitialized object ih when judging this condition for the second time.

\[Fix\]
After got the page, check freelist first, if freelist == 0 then exit dtInsert()
and return -EINVAL.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f98bf80b20f4a930589cda48a35f751a64fe0dc2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 53023ab11836ac56fd75f7a71ec1356e50920fa9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6ea10dbb1e6c58384136e9adfd75f81951e423f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c2ac38530d1a3ee558834dfa16c85a40fd0e702; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce6dede912f064a855acf6f04a04cbb2c25b8c8c (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-44939. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-44939.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f98bf80b20f4a930589cda48a35f751a64fe0dc2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 53023ab11836ac56fd75f7a71ec1356e50920fa9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 6ea10dbb1e6c58384136e9adfd75f81951e423f6; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 53023ab11836ac56fd75f7a71ec1356e50920fa9, Linux 6ea10dbb1e6c58384136e9adfd75f81951e423f6, Linux 9c2ac38530d1a3ee558834dfa16c85a40fd0e702

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-44939 being exploited?

There is no confirmed exploitation: CVE-2024-44939 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-30).

### How serious is CVE-2024-44939?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-44939?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f98bf80b20f4a930589cda48a35f751a64fe0dc2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 53023ab11836ac56fd75f7a71ec1356e50920fa9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6ea10dbb1e6c58384136e9adfd75f81951e423f6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9c2ac38530d1a3ee558834dfa16c85a40fd0e702; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce6dede912f064a855acf6f04a04cbb2c25b8c8c; Linux 2.6.12.

### Is there a fix for CVE-2024-44939?

Yes. Fixed in Linux 53023ab11836ac56fd75f7a71ec1356e50920fa9, Linux 6ea10dbb1e6c58384136e9adfd75f81951e423f6, Linux 9c2ac38530d1a3ee558834dfa16c85a40fd0e702. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-44939?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/53023ab11836ac56fd75f7a71ec1356e50920fa9>
- patch: <https://git.kernel.org/stable/c/6ea10dbb1e6c58384136e9adfd75f81951e423f6>
- patch: <https://git.kernel.org/stable/c/9c2ac38530d1a3ee558834dfa16c85a40fd0e702>
- patch: <https://git.kernel.org/stable/c/ce6dede912f064a855acf6f04a04cbb2c25b8c8c>
- other: <https://git.kernel.org/stable/c/f98bf80b20f4a930589cda48a35f751a64fe0dc2>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-44939>

HTML: <https://flawdb.com/CVE-2024-44939> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-44939>
