# CVE-2024-26663: tipc: Check the bearer type before calling tipc\_udp\_nl\_bearer\_add()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-04-02T06:22:12.537Z
- **Modified:** 2026-08-05T11:26:37.773Z

## Who should check

- Anyone running Linux \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 6f70f0b412458c622a12d4292782c8e92e210c2f; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< c1701ea85ef0ec7be6a1b36c7da69f572ed2fd12; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3d3a5b31b43515b5752ff282702ca546ec3e48b6; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 888e3524be87f3df9fa3c083484e4b62b3e3bb59; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 0cd331dfd6023640c9669d0592bc0fd491205f87; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3871aa01e1a779d866fa9dfdd5a836f342f4eb87
- Anyone running Linux 4.9

## Description

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

tipc: Check the bearer type before calling tipc\_udp\_nl\_bearer\_add()

syzbot reported the following general protection fault \[1\]:

general protection fault, probably for non-canonical address 0xdffffc0000000010: 0000 \[\#1\] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range \[0x0000000000000080-0x0000000000000087\]
...
RIP: 0010:tipc\_udp\_is\_known\_peer+0x9c/0x250 net/tipc/udp\_media.c:291
...
Call Trace:
 \<TASK\>
 tipc\_udp\_nl\_bearer\_add+0x212/0x2f0 net/tipc/udp\_media.c:646
 tipc\_nl\_bearer\_add+0x21e/0x360 net/tipc/bearer.c:1089
 genl\_family\_rcv\_msg\_doit+0x1fc/0x2e0 net/netlink/genetlink.c:972
 genl\_family\_rcv\_msg net/netlink/genetlink.c:1052 \[inline\]
 genl\_rcv\_msg+0x561/0x800 net/netlink/genetlink.c:1067
 netlink\_rcv\_skb+0x16b/0x440 net/netlink/af\_netlink.c:2544
 genl\_rcv+0x28/0x40 net/netlink/genetlink.c:1076
 netlink\_unicast\_kernel net/netlink/af\_netlink.c:1341 \[inline\]
 netlink\_unicast+0x53b/0x810 net/netlink/af\_netlink.c:1367
 netlink\_sendmsg+0x8b7/0xd70 net/netlink/af\_netlink.c:1909
 sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
 \_\_sock\_sendmsg+0xd5/0x180 net/socket.c:745
 \_\_\_\_sys\_sendmsg+0x6ac/0x940 net/socket.c:2584
 \_\_\_sys\_sendmsg+0x135/0x1d0 net/socket.c:2638
 \_\_sys\_sendmsg+0x117/0x1e0 net/socket.c:2667
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0x40/0x110 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

The cause of this issue is that when tipc\_nl\_bearer\_add() is called with
the TIPC\_NLA\_BEARER\_UDP\_OPTS attribute, tipc\_udp\_nl\_bearer\_add() is called
even if the bearer is not UDP.

tipc\_udp\_is\_known\_peer() called by tipc\_udp\_nl\_bearer\_add() assumes that
the media\_ptr field of the tipc\_bearer has an udp\_bearer type object, so
the function goes crazy for non-UDP bearers.

This patch fixes the issue by checking the bearer type before calling
tipc\_udp\_nl\_bearer\_add() in tipc\_nl\_bearer\_add().

## Affected and fixed versions

- Linux: \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 6f70f0b412458c622a12d4292782c8e92e210c2f; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< c1701ea85ef0ec7be6a1b36c7da69f572ed2fd12; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3d3a5b31b43515b5752ff282702ca546ec3e48b6; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 888e3524be87f3df9fa3c083484e4b62b3e3bb59; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 0cd331dfd6023640c9669d0592bc0fd491205f87; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3871aa01e1a779d866fa9dfdd5a836f342f4eb87 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 3871aa01e1a779d866fa9dfdd5a836f342f4eb87 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26663. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26663.md
Affected: Linux >= ef20cd4dd1633987bcf46ac34ace2c8af212361f, < 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1; >= ef20cd4dd1633987bcf46ac34ace2c8af212361f, < 6f70f0b412458c622a12d4292782c8e92e210c2f; >= ef20cd4dd1633987bcf46ac34ace2c8af212361f, < 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95; >= ef20cd4dd1633987bcf46ac…
Fixed in: Linux 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1, Linux 6f70f0b412458c622a12d4292782c8e92e210c2f, Linux 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95, Linux 3d3a5b31b43515b5752ff282702ca546ec3e48b6, Linux 888e3524be87f3df9fa3c083484e4b62b3e3bb59, Linux 0cd331dfd6023640c9669d0592bc0fd491205f87, Linux 3871a…

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-2024-26663 being exploited?

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

### How serious is CVE-2024-26663?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26663?

Linux \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 6f70f0b412458c622a12d4292782c8e92e210c2f; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< c1701ea85ef0ec7be6a1b36c7da69f572ed2fd12; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3d3a5b31b43515b5752ff282702ca546ec3e48b6; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 888e3524be87f3df9fa3c083484e4b62b3e3bb59; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 0cd331dfd6023640c9669d0592bc0fd491205f87; \>= ef20cd4dd1633987bcf46ac34ace2c8af212361f, \< 3871aa01e1a779d866fa9dfdd5a836f342f4eb87; Linux 4.9.

### Is there a fix for CVE-2024-26663?

Yes. Fixed in Linux 24ec8f0da93b8a9fba11600be8a90f0d73fb46f1, Linux 6f70f0b412458c622a12d4292782c8e92e210c2f, Linux 19d7314f2fb9515bdaac9829d4d8eb34edd1fe95, Linux 3d3a5b31b43515b5752ff282702ca546ec3e48b6, Linux 888e3524be87f3df9fa3c083484e4b62b3e3bb59, Linux 0cd331dfd6023640c9669d0592bc0fd491205f87, Linux 3871aa01e1a779d866fa9dfdd5a836f342f4eb87. Upgrade Linux to 3871aa01e1a779d866fa9dfdd5a836f342f4eb87 or later.

### How do I check if I'm affected by CVE-2024-26663?

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/24ec8f0da93b8a9fba11600be8a90f0d73fb46f1>
- patch: <https://git.kernel.org/stable/c/6f70f0b412458c622a12d4292782c8e92e210c2f>
- patch: <https://git.kernel.org/stable/c/19d7314f2fb9515bdaac9829d4d8eb34edd1fe95>
- patch: <https://git.kernel.org/stable/c/c1701ea85ef0ec7be6a1b36c7da69f572ed2fd12>
- patch: <https://git.kernel.org/stable/c/3d3a5b31b43515b5752ff282702ca546ec3e48b6>
- patch: <https://git.kernel.org/stable/c/888e3524be87f3df9fa3c083484e4b62b3e3bb59>
- patch: <https://git.kernel.org/stable/c/0cd331dfd6023640c9669d0592bc0fd491205f87>
- patch: <https://git.kernel.org/stable/c/3871aa01e1a779d866fa9dfdd5a836f342f4eb87>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## 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-2024-26663>

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