[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040349-CVE-2025-22001-5187@gregkh>
Date: Thu, 3 Apr 2025 08:17:53 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22001: accel/qaic: Fix integer overflow in qaic_validate_req()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
accel/qaic: Fix integer overflow in qaic_validate_req()
These are u64 variables that come from the user via
qaic_attach_slice_bo_ioctl(). Use check_add_overflow() to ensure that
the math doesn't have an integer wrapping bug.
The Linux kernel CVE team has assigned CVE-2025-22001 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.6.85 with commit 4b2a170c25862ad116bd31be6b9841646b4862e8
Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.12.21 with commit b362fc904d264a88b4af20baae9e82491c285e9c
Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.13.9 with commit 57fae0c505f49bb1e3d5660cd2cc49697ed85f7c
Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.14 with commit 67d15c7aa0864dfd82325c7e7e7d8548b5224c7b
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-22001
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:
drivers/accel/qaic/qaic_data.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/4b2a170c25862ad116bd31be6b9841646b4862e8
https://git.kernel.org/stable/c/b362fc904d264a88b4af20baae9e82491c285e9c
https://git.kernel.org/stable/c/57fae0c505f49bb1e3d5660cd2cc49697ed85f7c
https://git.kernel.org/stable/c/67d15c7aa0864dfd82325c7e7e7d8548b5224c7b
Powered by blists - more mailing lists