# CVE-2023-54265: ipv6: Fix an uninit variable access bug in \_\_ip6\_make\_skb()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **Published:** 2025-12-30T12:15:57.557Z
- **Modified:** 2026-06-17T06:47:07.257Z

## Who should check

- Anyone running Linux \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 165370522cc48127da564a08584a7391e6341908; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< f394f690a30a5ec0413c62777a058eaf3d6e10d5; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 605b056d63302ae84eb136e88d4df49124bd5e0d; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< d65ff2fe877c471aa6e79efa7bd8ff66e147c317; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 2c9cefc142c1dc2759e19a92d3b2b3715e985beb; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 02ed5700f40445af02d1c97db25ffc2d04971d9f; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< ea30388baebcce37fd594d425a65037ca35e59e8
- Anyone running Linux 2.6.24

## Description

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

ipv6: Fix an uninit variable access bug in \_\_ip6\_make\_skb()

Syzbot reported a bug as following:

=====================================================
BUG: KMSAN: uninit-value in arch\_atomic64\_inc arch/x86/include/asm/atomic64\_64.h:88 \[inline\]
BUG: KMSAN: uninit-value in arch\_atomic\_long\_inc include/linux/atomic/atomic-long.h:161 \[inline\]
BUG: KMSAN: uninit-value in atomic\_long\_inc include/linux/atomic/atomic-instrumented.h:1429 \[inline\]
BUG: KMSAN: uninit-value in \_\_ip6\_make\_skb+0x2f37/0x30f0 net/ipv6/ip6\_output.c:1956
 arch\_atomic64\_inc arch/x86/include/asm/atomic64\_64.h:88 \[inline\]
 arch\_atomic\_long\_inc include/linux/atomic/atomic-long.h:161 \[inline\]
 atomic\_long\_inc include/linux/atomic/atomic-instrumented.h:1429 \[inline\]
 \_\_ip6\_make\_skb+0x2f37/0x30f0 net/ipv6/ip6\_output.c:1956
 ip6\_finish\_skb include/net/ipv6.h:1122 \[inline\]
 ip6\_push\_pending\_frames+0x10e/0x550 net/ipv6/ip6\_output.c:1987
 rawv6\_push\_pending\_frames+0xb12/0xb90 net/ipv6/raw.c:579
 rawv6\_sendmsg+0x297e/0x2e60 net/ipv6/raw.c:922
 inet\_sendmsg+0x101/0x180 net/ipv4/af\_inet.c:827
 sock\_sendmsg\_nosec net/socket.c:714 \[inline\]
 sock\_sendmsg net/socket.c:734 \[inline\]
 \_\_\_\_sys\_sendmsg+0xa8e/0xe70 net/socket.c:2476
 \_\_\_sys\_sendmsg+0x2a1/0x3f0 net/socket.c:2530
 \_\_sys\_sendmsg net/socket.c:2559 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2568 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2566 \[inline\]
 \_\_x64\_sys\_sendmsg+0x367/0x540 net/socket.c:2566
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

Uninit was created at:
 slab\_post\_alloc\_hook mm/slab.h:766 \[inline\]
 slab\_alloc\_node mm/slub.c:3452 \[inline\]
 \_\_kmem\_cache\_alloc\_node+0x71f/0xce0 mm/slub.c:3491
 \_\_do\_kmalloc\_node mm/slab\_common.c:967 \[inline\]
 \_\_kmalloc\_node\_track\_caller+0x114/0x3b0 mm/slab\_common.c:988
 kmalloc\_reserve net/core/skbuff.c:492 \[inline\]
 \_\_alloc\_skb+0x3af/0x8f0 net/core/skbuff.c:565
 alloc\_skb include/linux/skbuff.h:1270 \[inline\]
 \_\_ip6\_append\_data+0x51c1/0x6bb0 net/ipv6/ip6\_output.c:1684
 ip6\_append\_data+0x411/0x580 net/ipv6/ip6\_output.c:1854
 rawv6\_sendmsg+0x2882/0x2e60 net/ipv6/raw.c:915
 inet\_sendmsg+0x101/0x180 net/ipv4/af\_inet.c:827
 sock\_sendmsg\_nosec net/socket.c:714 \[inline\]
 sock\_sendmsg net/socket.c:734 \[inline\]
 \_\_\_\_sys\_sendmsg+0xa8e/0xe70 net/socket.c:2476
 \_\_\_sys\_sendmsg+0x2a1/0x3f0 net/socket.c:2530
 \_\_sys\_sendmsg net/socket.c:2559 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2568 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2566 \[inline\]
 \_\_x64\_sys\_sendmsg+0x367/0x540 net/socket.c:2566
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

It is because icmp6hdr does not in skb linear region under the scenario
of SOCK\_RAW socket. Access icmp6\_hdr(skb)-\>icmp6\_type directly will
trigger the uninit variable access bug.

Use a local variable icmp6\_type to carry the correct value in different
scenarios.

## Affected and fixed versions

- Linux: \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 165370522cc48127da564a08584a7391e6341908; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< f394f690a30a5ec0413c62777a058eaf3d6e10d5; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 605b056d63302ae84eb136e88d4df49124bd5e0d; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< d65ff2fe877c471aa6e79efa7bd8ff66e147c317; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 2c9cefc142c1dc2759e19a92d3b2b3715e985beb; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 02ed5700f40445af02d1c97db25ffc2d04971d9f; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< ea30388baebcce37fd594d425a65037ca35e59e8 (cvelist)
- Linux: 2.6.24 (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-2023-54265. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54265.md
Affected: Linux >= 14878f75abd5bf1d38becb405801cd491ee215dc, < 165370522cc48127da564a08584a7391e6341908; >= 14878f75abd5bf1d38becb405801cd491ee215dc, < f394f690a30a5ec0413c62777a058eaf3d6e10d5; >= 14878f75abd5bf1d38becb405801cd491ee215dc, < 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1; >= 14878f75abd5bf1d38becb4…
Fixed in: Linux 165370522cc48127da564a08584a7391e6341908, Linux 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1, Linux 605b056d63302ae84eb136e88d4df49124bd5e0d, Linux 2c9cefc142c1dc2759e19a92d3b2b3715e985beb, Linux 02ed5700f40445af02d1c97db25ffc2d04971d9f

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-2023-54265 being exploited?

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

### How serious is CVE-2023-54265?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54265?

Linux \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 165370522cc48127da564a08584a7391e6341908; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< f394f690a30a5ec0413c62777a058eaf3d6e10d5; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 605b056d63302ae84eb136e88d4df49124bd5e0d; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< d65ff2fe877c471aa6e79efa7bd8ff66e147c317; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 2c9cefc142c1dc2759e19a92d3b2b3715e985beb; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< 02ed5700f40445af02d1c97db25ffc2d04971d9f; \>= 14878f75abd5bf1d38becb405801cd491ee215dc, \< ea30388baebcce37fd594d425a65037ca35e59e8; Linux 2.6.24.

### Is there a fix for CVE-2023-54265?

Yes. Fixed in Linux 165370522cc48127da564a08584a7391e6341908, Linux 0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1, Linux 605b056d63302ae84eb136e88d4df49124bd5e0d, Linux 2c9cefc142c1dc2759e19a92d3b2b3715e985beb, Linux 02ed5700f40445af02d1c97db25ffc2d04971d9f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54265?

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

- other: <https://git.kernel.org/stable/c/165370522cc48127da564a08584a7391e6341908>
- other: <https://git.kernel.org/stable/c/f394f690a30a5ec0413c62777a058eaf3d6e10d5>
- other: <https://git.kernel.org/stable/c/0cf600ca1bdf1d52df977516ee6cee0cadb1f6b1>
- other: <https://git.kernel.org/stable/c/605b056d63302ae84eb136e88d4df49124bd5e0d>
- other: <https://git.kernel.org/stable/c/d65ff2fe877c471aa6e79efa7bd8ff66e147c317>
- other: <https://git.kernel.org/stable/c/2c9cefc142c1dc2759e19a92d3b2b3715e985beb>
- other: <https://git.kernel.org/stable/c/02ed5700f40445af02d1c97db25ffc2d04971d9f>
- other: <https://git.kernel.org/stable/c/ea30388baebcce37fd594d425a65037ca35e59e8>

## 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-2023-54265>

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