# CVE-2021-42008: The decodedata function in drivers/net/hamradio/6pack.c in the Linux kernel before 5.13.13 has a slab out-of-bounds write.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.57%, higher than 76% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-04T23:17:08.000Z
- Modified: 2026-06-17T04:09:08.557Z
- Weaknesses: CWE-787
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: from 2.6.12 before 4.4.282; from 4.5 before 4.9.281; from 4.10 before 4.14.245; from 4.15 before 4.19.205; from 4.20 before 5.4.143; from 5.5 before 5.10.61; from 5.11 before 5.13.13
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://www.youtube.com/watch?v=d5f9xLK8Vhw> (exploit, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=19d1532a187669ce86d5a2696eb7275310070793> (patch, vendor-advisory)
- <https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.13> (release-notes, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20211104-0002/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-42008](https://www.cve.org/CVERecord?id=CVE-2021-42008), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-42008](https://nvd.nist.gov/vuln/detail/CVE-2021-42008), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42008 · Whole record: https://cve.day/CVE-2021-42008.json · Rebuilt by cve.day 2026-11-25T22:58:04.297Z
