CVE-2021-38208 json
net/nfc/llcp_sock.c in the Linux kernel before 5.12.10 allows local unprivileged users to cause a denial of service (NULL pointer dereferen…
published 2021-08-08 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-24666
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
net/nfc/llcp_sock.c in the Linux kernel before 5.12.10 allows local unprivileged users to cause a denial of service (NULL pointer dereference and BUG) by making a getsockname call after a certain type of failure of a bind call.
Patch / fix
- linux linux_kernel 5.12.10
- linux Debian 14, Debian 13, Debian 12 5.10.46-1
debian advisories DEBIAN-CVE-2021-38208
- linux Ubuntu 18.04 LTS 4.15.0-154.161
- linux Ubuntu 20.04 LTS 5.4.0-81.91
- linux-aws Ubuntu 18.04 LTS 4.15.0-1110.117
- linux-aws Ubuntu 20.04 LTS 5.4.0-1055.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1051.55
- linux-gke Ubuntu 20.04 LTS 5.4.0-1051.54
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1098.100
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1045.47
ubuntu advisories UBUNTU-CVE-2021-38208
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 4.12.14-150100.197.114.2
- kernel-source SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 4.12.14-150100.197.114.2
- kernel-default SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +7 more 4.12.14-150100.197.114.2
- kernel-vanilla openSUSE Leap 15.4, openSUSE Leap 15.3 4.12.14-150100.197.114.2
- kernel-kvmsmall openSUSE Leap 15.4, openSUSE Leap 15.3 4.12.14-150100.197.114.2
- kernel-zfcpdump SLES 15 SP1-LTSS, openSUSE Leap 15.4, openSUSE Leap 15.3 4.12.14-150100.197.114.2
- kernel-obs-build SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 4.12.14-150100.197.114.2
- kernel-syms SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150000.150.92.2
suse advisories SUSE-SU-2022:2111-1SUSE-SU-2022:2103-1SUSE-SU-2022:2083-1SUSE-SU-2022:2082-1SUSE-SU-2022:2077-1SUSE-SU-2022:1687-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-38208 updated cvss 5.5
kernel: NULL pointer dereference in net/nfc/llcp_sock.c by making a getsockname call after a certain type of failure of a bind call
-
Red Hat Enterprise Linux 7 perf, kernel, kernel-alt, python-perf, kernel-kdump, kernel-tools, +3 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 kernel, bpftool, kernel-rt, kernel-rt-kvm, kernel-rt-trace, kernel-rt-debug-kvm, +1 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/torvalds/linux/commit/4ac06a1e013cf5fdd963317ffd3b968560f33bba referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
github.com
/torvalds/linux/commit/4ac06a1e013cf5fdd963317ffd3b968560f33bba
exploit, patch, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v5.x/ChangeLog-5.12.10
mailing-list, patch, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1992810
issue-tracking, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2021/08/17/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2021/08/17/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2021/08/24/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-38208
- NVD CVE-2021-38208
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.