# CVE-2021-47240: net: qrtr: fix OOB Read in qrtr\_endpoint\_post

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-05-21T14:19:40.363Z
- **Modified:** 2026-08-05T08:46:52.072Z

## Who should check

- Anyone running Linux \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< f8111c0d7ed42ede41a3d0d393b104de0730a8a6; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 26b8d10703a9be45d6097946b2b4011f7dd2c56f; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 960b08dd36de1e341e3eb43d1c547513e338f4f8; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< ad9d24c9429e2159d1e279dc3a83191ccb4daf1d
- Anyone running Linux 4.15

## 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 and fixed versions

- Linux: \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< f8111c0d7ed42ede41a3d0d393b104de0730a8a6; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 26b8d10703a9be45d6097946b2b4011f7dd2c56f; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 960b08dd36de1e341e3eb43d1c547513e338f4f8; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< ad9d24c9429e2159d1e279dc3a83191ccb4daf1d (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47240.md
Affected: Linux >= 194ccc88297ae78d0803adad83c6dcc369787c9e, < f8111c0d7ed42ede41a3d0d393b104de0730a8a6; >= 194ccc88297ae78d0803adad83c6dcc369787c9e, < 26b8d10703a9be45d6097946b2b4011f7dd2c56f; >= 194ccc88297ae78d0803adad83c6dcc369787c9e, < 960b08dd36de1e341e3eb43d1c547513e338f4f8; >= 194ccc88297ae78d0803ada…
Fixed in: Linux 26b8d10703a9be45d6097946b2b4011f7dd2c56f, Linux 960b08dd36de1e341e3eb43d1c547513e338f4f8, Linux 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47240 being exploited?

There is no confirmed exploitation: CVE-2021-47240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47240?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47240?

Linux \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< f8111c0d7ed42ede41a3d0d393b104de0730a8a6; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 26b8d10703a9be45d6097946b2b4011f7dd2c56f; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 960b08dd36de1e341e3eb43d1c547513e338f4f8; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe; \>= 194ccc88297ae78d0803adad83c6dcc369787c9e, \< ad9d24c9429e2159d1e279dc3a83191ccb4daf1d; Linux 4.15.

### Is there a fix for CVE-2021-47240?

Yes. Fixed in Linux 26b8d10703a9be45d6097946b2b4011f7dd2c56f, Linux 960b08dd36de1e341e3eb43d1c547513e338f4f8, Linux 19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2021-47240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f8111c0d7ed42ede41a3d0d393b104de0730a8a6>
- patch: <https://git.kernel.org/stable/c/26b8d10703a9be45d6097946b2b4011f7dd2c56f>
- patch: <https://git.kernel.org/stable/c/960b08dd36de1e341e3eb43d1c547513e338f4f8>
- patch: <https://git.kernel.org/stable/c/19892ab9c9d838e2e5a7744d36e4bb8b7c3292fe>
- patch: <https://git.kernel.org/stable/c/ad9d24c9429e2159d1e279dc3a83191ccb4daf1d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47240>

HTML: <https://flawdb.com/CVE-2021-47240> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47240>
