[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025041613-CVE-2025-22080-a4ec@gregkh>
Date: Wed, 16 Apr 2025 16:12:51 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22080: fs/ntfs3: Prevent integer overflow in hdr_first_de()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Prevent integer overflow in hdr_first_de()
The "de_off" and "used" variables come from the disk so they both need to
check. The problem is that on 32bit systems if they're both greater than
UINT_MAX - 16 then the check does work as intended because of an integer
overflow.
The Linux kernel CVE team has assigned CVE-2025-22080 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.2 with commit 60ce8dfde03558bfc290cd915c60fa243ba2ae84 and fixed in 6.6.87 with commit f6d44b1aa46d317e52c21fb9314cfb20dd69e7b0
Issue introduced in 6.2 with commit 60ce8dfde03558bfc290cd915c60fa243ba2ae84 and fixed in 6.12.23 with commit 201a2bdda13b619c4927700ffe47d387a30ced50
Issue introduced in 6.2 with commit 60ce8dfde03558bfc290cd915c60fa243ba2ae84 and fixed in 6.13.11 with commit 85615aa442830027923fc690390fa74d17b36ae1
Issue introduced in 6.2 with commit 60ce8dfde03558bfc290cd915c60fa243ba2ae84 and fixed in 6.14.2 with commit b9982065b82b4177ba3a7a72ce18c84921f7494d
Issue introduced in 6.2 with commit 60ce8dfde03558bfc290cd915c60fa243ba2ae84 and fixed in 6.15-rc1 with commit 6bb81b94f7a9cba6bde9a905cef52a65317a8b04
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-22080
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/ntfs3/ntfs.h
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/f6d44b1aa46d317e52c21fb9314cfb20dd69e7b0
https://git.kernel.org/stable/c/201a2bdda13b619c4927700ffe47d387a30ced50
https://git.kernel.org/stable/c/85615aa442830027923fc690390fa74d17b36ae1
https://git.kernel.org/stable/c/b9982065b82b4177ba3a7a72ce18c84921f7494d
https://git.kernel.org/stable/c/6bb81b94f7a9cba6bde9a905cef52a65317a8b04
Powered by blists - more mailing lists