# CVE-2021-47397: sctp: break out if skb\_header\_pointer returns NULL in sctp\_rcv\_ootb

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-21T15:03:53.431Z
- **Modified:** 2026-08-05T08:47:38.908Z

## Who should check

- Anyone running Linux \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8c630a7b4f9dec63f08bd881ab77984a724a5124; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 9c6591ae8e63f93c895ad5e2703c36c548aac997; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8180611c238e11676612eb2a9828b1c7a3a4d77b; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< f7e745f8e94492a8ac0b0a26e25f2b19d342918f
- Anyone running Linux 4.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

sctp: break out if skb\_header\_pointer returns NULL in sctp\_rcv\_ootb

We should always check if skb\_header\_pointer's return is NULL before
using it, otherwise it may cause null-ptr-deref, as syzbot reported:

  KASAN: null-ptr-deref in range \[0x0000000000000000-0x0000000000000007\]
  RIP: 0010:sctp\_rcv\_ootb net/sctp/input.c:705 \[inline\]
  RIP: 0010:sctp\_rcv+0x1d84/0x3220 net/sctp/input.c:196
  Call Trace:
  \<IRQ\>
   sctp6\_rcv+0x38/0x60 net/sctp/ipv6.c:1109
   ip6\_protocol\_deliver\_rcu+0x2e9/0x1ca0 net/ipv6/ip6\_input.c:422
   ip6\_input\_finish+0x62/0x170 net/ipv6/ip6\_input.c:463
   NF\_HOOK include/linux/netfilter.h:307 \[inline\]
   NF\_HOOK include/linux/netfilter.h:301 \[inline\]
   ip6\_input+0x9c/0xd0 net/ipv6/ip6\_input.c:472
   dst\_input include/net/dst.h:460 \[inline\]
   ip6\_rcv\_finish net/ipv6/ip6\_input.c:76 \[inline\]
   NF\_HOOK include/linux/netfilter.h:307 \[inline\]
   NF\_HOOK include/linux/netfilter.h:301 \[inline\]
   ipv6\_rcv+0x28c/0x3c0 net/ipv6/ip6\_input.c:297

## Affected and fixed versions

- Linux: \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8c630a7b4f9dec63f08bd881ab77984a724a5124; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 9c6591ae8e63f93c895ad5e2703c36c548aac997; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8180611c238e11676612eb2a9828b1c7a3a4d77b; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< f7e745f8e94492a8ac0b0a26e25f2b19d342918f (cvelist)
- Linux: 4.8 (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-47397. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47397.md
Affected: Linux >= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, < 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d; >= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, < 8c630a7b4f9dec63f08bd881ab77984a724a5124; >= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, < ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1; >= 3acb50c18d8d6650f109194…
Fixed in: Linux 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d, Linux 8c630a7b4f9dec63f08bd881ab77984a724a5124, Linux 9c6591ae8e63f93c895ad5e2703c36c548aac997, Linux 8180611c238e11676612eb2a9828b1c7a3a4d77b

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-47397 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8c630a7b4f9dec63f08bd881ab77984a724a5124; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 9c6591ae8e63f93c895ad5e2703c36c548aac997; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< 8180611c238e11676612eb2a9828b1c7a3a4d77b; \>= 3acb50c18d8d6650f10919464ade4dcdaf41d62f, \< f7e745f8e94492a8ac0b0a26e25f2b19d342918f; Linux 4.8.

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

Yes. Fixed in Linux 77bc7dcf0fcc1519341a91788d7a2914fcfddf6d, Linux 8c630a7b4f9dec63f08bd881ab77984a724a5124, Linux 9c6591ae8e63f93c895ad5e2703c36c548aac997, Linux 8180611c238e11676612eb2a9828b1c7a3a4d77b. No fix listed yet: follow the vendor advisory.

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

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/77bc7dcf0fcc1519341a91788d7a2914fcfddf6d>
- patch: <https://git.kernel.org/stable/c/8c630a7b4f9dec63f08bd881ab77984a724a5124>
- patch: <https://git.kernel.org/stable/c/ec018021cf445abbe8e2f3e2a7f1dcc813cb8ea1>
- patch: <https://git.kernel.org/stable/c/9c6591ae8e63f93c895ad5e2703c36c548aac997>
- patch: <https://git.kernel.org/stable/c/8180611c238e11676612eb2a9828b1c7a3a4d77b>
- patch: <https://git.kernel.org/stable/c/f7e745f8e94492a8ac0b0a26e25f2b19d342918f>

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

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