Skip to main content
Public proof of conceptFix available

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?

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
  1. 2021-10-0500:15CVE publishedNVD

Versions per branch

NVD
Linux linux kernel
BranchAffectedFixed in
5.x≥ 5.11, < 5.13.135.13.13
5.x≥ 5.5, < 5.10.615.10.61
5.4≥ 4.20, < 5.4.1435.4.143
4.x≥ 4.15, < 4.19.2054.19.205
4.x≥ 4.10, < 4.14.2454.14.245
4.x≥ 4.5, < 4.9.2814.9.281
4.4≥ 2.6.12, < 4.4.2824.4.282
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
Netapp h300e firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published

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

Full record on NVD

Fix

  1. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2021-42008 actively exploited?

Active exploitation of CVE-2021-42008 has not been confirmed. Its EPSS score was 1.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-42008?

CVE-2021-42008 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record