* CVE-2026-72298: net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()
@ 2026-08-15 6:06 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-08-15 6:06 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post()
qrtr_endpoint_post() validates an incoming packet with
if (!size || len != ALIGN(size, 4) + hdrlen)
goto err;
where size comes from the wire. On 32-bit, size_t is 32 bits and
ALIGN(size, 4) wraps to 0 for size >= 0xfffffffd, so the check
passes and skb_put_data(skb, data + hdrlen, size) writes past the
hdrlen-sized skb and oopses the kernel. 64-bit is unaffected.
This is the 32-bit residual of ad9d24c9429e2 ("net: qrtr: fix OOB
Read in qrtr_endpoint_post"), which fixed only the 64-bit case.
Reject any size that cannot fit the buffer before the ALIGN.
The Linux kernel CVE team has assigned CVE-2026-72298 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10.46 with commit 960b08dd36de1e341e3eb43d1c547513e338f4f8 and fixed in 5.10.261 with commit 3665e644ea081c4624a1637023b0de3b29f4ae04
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 5.15.212 with commit b609f7f46916c6b05585ca82455077198a23770f
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 6.1.178 with commit 242408b5b763c01288adf3113cbce84378a76e1a
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 6.6.145 with commit d0597074e99731fdad5593e4f6d056a3866f2cab
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 6.12.97 with commit 689b7267f8632b4661879dc323e26ebb60978afb
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 6.18.40 with commit 22100a8f73d4ae4f17697dae93d4e2e1d283a6ec
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 7.1.5 with commit 7f72c285f6d3bf63968a0344beee8ab1b370198b
Issue introduced in 5.13 with commit ad9d24c9429e2159d1e279dc3a83191ccb4daf1d and fixed in 7.2-rc1 with commit 20054869770c7df060c5ecee3e8bbf9029c47191
Issue introduced in 4.19.196 with commit f8111c0d7ed42ede41a3d0d393b104de0730a8a6
Issue introduced in 5.4.128 with commit 26b8d10703a9be45d6097946b2b4011f7dd2c56f
Issue introduced in 5.12.13 with commit 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe
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-2026-72298
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:
net/qrtr/af_qrtr.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/3665e644ea081c4624a1637023b0de3b29f4ae04
https://git.kernel.org/stable/c/b609f7f46916c6b05585ca82455077198a23770f
https://git.kernel.org/stable/c/242408b5b763c01288adf3113cbce84378a76e1a
https://git.kernel.org/stable/c/d0597074e99731fdad5593e4f6d056a3866f2cab
https://git.kernel.org/stable/c/689b7267f8632b4661879dc323e26ebb60978afb
https://git.kernel.org/stable/c/22100a8f73d4ae4f17697dae93d4e2e1d283a6ec
https://git.kernel.org/stable/c/7f72c285f6d3bf63968a0344beee8ab1b370198b
https://git.kernel.org/stable/c/20054869770c7df060c5ecee3e8bbf9029c47191
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-15 6:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15 6:06 CVE-2026-72298: net: qrtr: fix 32-bit integer overflow in qrtr_endpoint_post() Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.