[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091139-CVE-2025-39743-75bd@gregkh>
Date: Thu, 11 Sep 2025 18:52:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39743: jfs: truncate good inode pages when hard link is 0
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2025-39743 to this issue.
Affected and fixed versions
===========================
Fixed in 5.4.297 with commit 89fff8e3d6710fc32507b8e19eb5afa9fb79b896
Fixed in 5.10.241 with commit 5845b926c561b8333cd65169526eec357d7bb449
Fixed in 5.15.190 with commit 8ed7275910fb7177012619864e04d3008763f3ea
Fixed in 6.1.149 with commit b5b471820c33365a8ccd2d463578bf4e47056c2c
Fixed in 6.6.103 with commit 34d8e982bac48bdcca7524644a8825a580edce74
Fixed in 6.12.43 with commit df3fd8daf278eca365f221749ae5b728e8382a04
Fixed in 6.15.11 with commit 2b1d5ca395a5fb170c3f885cd42c16179f7f54ec
Fixed in 6.16.2 with commit 1bb5cdc3e39f0c2b311fcb631258b7e60d3fb0d3
Fixed in 6.17-rc1 with commit 2d91b3765cd05016335cd5df5e5c6a29708ec058
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39743
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/jfs/inode.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/89fff8e3d6710fc32507b8e19eb5afa9fb79b896
https://git.kernel.org/stable/c/5845b926c561b8333cd65169526eec357d7bb449
https://git.kernel.org/stable/c/8ed7275910fb7177012619864e04d3008763f3ea
https://git.kernel.org/stable/c/b5b471820c33365a8ccd2d463578bf4e47056c2c
https://git.kernel.org/stable/c/34d8e982bac48bdcca7524644a8825a580edce74
https://git.kernel.org/stable/c/df3fd8daf278eca365f221749ae5b728e8382a04
https://git.kernel.org/stable/c/2b1d5ca395a5fb170c3f885cd42c16179f7f54ec
https://git.kernel.org/stable/c/1bb5cdc3e39f0c2b311fcb631258b7e60d3fb0d3
https://git.kernel.org/stable/c/2d91b3765cd05016335cd5df5e5c6a29708ec058
Powered by blists - more mailing lists