CVE-2021-42008
A public proof of concept exists; no exploitation attested.
- Published2021-10-05
- Fixed in5.13.13 · 5.10.61 · 5.4.143 · 4.19.205 · 4.14.245 · 4.9.281
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
The decode_data function in drivers/net/hamradio/6pack.c in the Linux kernel before 5.13.13 has a slab out-of-bounds write. Input from a process that has the CAP_NET_ADMIN capability can lead to root access.
Timeline
dates in UTC- 2021-10-0500:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.11, < 5.13.13 | 5.13.13 | NVD |
| 5.x | ≥ 5.5, < 5.10.61 | 5.10.61 | NVD |
| 5.4 | ≥ 4.20, < 5.4.143 | 5.4.143 | NVD |
| 4.x | ≥ 4.15, < 4.19.205 | 4.19.205 | NVD |
| 4.x | ≥ 4.10, < 4.14.245 | 4.14.245 | NVD |
| 4.x | ≥ 4.5, < 4.9.281 | 4.9.281 | NVD |
| 4.4 | ≥ 2.6.12, < 4.4.282 | 4.4.282 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
8 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- dtb-aarch64openSUSE:Leap 15.3all versions · fixed in 5.3.18-59.34.1and 11 other packages
- kernelopenEuler:20.03-LTS-SP2all versions · fixed in 4.19.90-2110.3.0.0116.oe1
- kernelopenEuler:20.03-LTS-SP1all versions · fixed in 4.19.90-2110.3.0.0116.oe1
- kernelAzure Linux:2all versions · fixed in 5.10.78.1-1
- kernel-64kbSUSE:Linux Enterprise Module for Basesystem 15 SP3all versions · fixed in 5.3.18-59.34.1and 4 other packages
- kernel-azureSUSE:Linux Enterprise Module for Public Cloud 15 SP3all versions · fixed in 5.3.18-38.28.2and 1 other package
- kernel-azureSUSE:Linux Enterprise Module for Public Cloud 15 SP2all versions · fixed in 5.3.18-18.72.2and 1 other package
- kernel-azureopenSUSE:Leap 15.3all versions · fixed in 5.3.18-38.28.2and 1 other package
159 more package ranges on OSV.dev
Vendor advisories
- CVE-2021-42008 Red Hat Product Security
kernel: slab out-of-bounds write in decode_data() in drivers/net/hamradio/6pack.c
Fix
- Update Linux linux kernel to 5.13.13 · 5.10.61 · 5.4.143 · 4.19.205 · 4.14.245 · 4.9.281 · 4.4.282
Advisories and patches
- cdn.kernel.orgRelease Notes · Vendor Advisory
- git.kernel.orgPatch · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01numanturle/CVE-2021-420080xdevil/CVE-2021-42008WhatsWrongAndWhy/CVE-2021-42008
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.06.9read 2026-10-23
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score1.6 %2026-12-03
- PoC-in-GitHubproof of concept3known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-6598same flawAzure Linux · MIT
- EUVD-2021-28998same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qv6w-x298-fgf8same flawGitHub Advisory Database · CC-BY-4.0
- DLA-2785-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2843-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2021-1379advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1477-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3641-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3675-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3876-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2021:14849-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3640-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3641-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3642-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3658-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3675-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3723-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3748-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3754-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3876-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3929-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3935-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3969-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3972-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5113-1advisory covering several CVEsUbuntu
- USN-5114-1advisory covering several CVEsUbuntu
- USN-5115-1advisory covering several CVEsUbuntu
- USN-5116-1advisory covering several CVEsUbuntu
- USN-5116-2advisory covering several CVEsUbuntu
- USN-5299-1advisory covering several CVEsUbuntu
- USN-5343-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2021-10-05
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-qv6w-x298-fgf8
Frequently asked questions
What is CVE-2021-42008?
Is CVE-2021-42008 actively exploited?
What is the CVSS score for CVE-2021-42008?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qv6w-x298-fgf8
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0