CVE-2021-47240

net: qrtr: fix OOB Read in qrtr_endpoint_post

HIGH
7.1
CVSS Score
Published: May 21, 2024 at 02:19 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net: qrtr: fix OOB Read in qrtr_endpoint_post Syzbot reported slab-out-of-bounds Read in qrtr_endpoint_post. The problem was in wrong _size_ type: if (len != ALIGN(size, 4) + hdrlen) goto err; If size from qrtr_hdr is 4294967293 (0xfffffffd), the result of ALIGN(size, 4) will be 0. In case of len == hdrlen and size == 4294967293 in header this check won't fail and skb_put_data(skb, data + hdrlen, size); will read out of bound from data, which is hdrlen allocated block.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.1964.15 ≤ v < 5.10.464.15 ≤ v < 5.12.134.15 ≤ v < 5.134.15 ≤ v < 5.4.1284.20 ≤ v < 5.4.1285.11 ≤ v < 5.12.135.5 ≤ v < 5.10.46194ccc88297ae78d0803adad83c6dcc369787c9e5.13 rc15.13 rc25.13 rc35.13 rc45.13 rc55.13 rc6
Vendor states this is fixed in 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe (fixed)
Vendor states this is fixed in 26b8d10703a9be45d6097946b2b4011f7dd2c56f (fixed)
Vendor states this is fixed in 960b08dd36de1e341e3eb43d1c547513e338f4f8 (fixed)
Vendor states this is fixed in ad9d24c9429e2159d1e279dc3a83191ccb4daf1d (fixed)
Vendor states this is fixed in f8111c0d7ed42ede41a3d0d393b104de0730a8a6 (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 4.19.196 (unaffected)
Vendor states this is fixed in 5.10.46 (unaffected)
Vendor states this is fixed in 5.12.13 (unaffected)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.4.128 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26b8d10703a9be45d6097946b2b4011f7dd2c56f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/960b08dd36de1e341e3eb43d1c547513e338f4f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad9d24c9429e2159d1e279dc3a83191ccb4daf1d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8111c0d7ed42ede41a3d0d393b104de0730a8a6

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card