jfs: truncate good inode pages when hard link is 0
In the Linux kernel, the following vulnerability has been resolved: jfs: truncate good inode pages when hard link is 0 The fileset value of the inode copy from the disk by the reproducer is AGGR_RESERVED_I. When executing evict, its hard link number is 0, so its inode pages are not truncated. This causes the bugon to be triggered when executing clear_inode() because nrpages is greater than 0.
02 / AFFECTED SOFTWARE
Affected packages
1892 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
In the Linux kernel, the following vulnerability has been resolved: jfs: truncate good inode pages when hard link is 0 The fileset value of the inode copy from the disk by the reproducer is AGGR_RESERVED_I. When executing evict, its hard link number is 0, so its inode pages are not truncated. This causes the bugon to be triggered when executing clear_inode() because nrpages is greater than 0.
05 / REFERENCES
Further evidence
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/1bb5cdc3e39f0c2b311fcb631258b7e60d3fb0d3
- https://git.kernel.org/stable/c/2b1d5ca395a5fb170c3f885cd42c16179f7f54ec
- https://git.kernel.org/stable/c/2d91b3765cd05016335cd5df5e5c6a29708ec058
- https://git.kernel.org/stable/c/34d8e982bac48bdcca7524644a8825a580edce74
- https://git.kernel.org/stable/c/5845b926c561b8333cd65169526eec357d7bb449
- https://git.kernel.org/stable/c/89fff8e3d6710fc32507b8e19eb5afa9fb79b896
- https://git.kernel.org/stable/c/8ed7275910fb7177012619864e04d3008763f3ea
- https://git.kernel.org/stable/c/b5b471820c33365a8ccd2d463578bf4e47056c2c
- https://git.kernel.org/stable/c/df3fd8daf278eca365f221749ae5b728e8382a04
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39743.json
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-39743