# CVE-2023-53517: tipc: do not update mtu if msg_max is too small in mtu negotiation

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-10-01T11:46:04.673Z
- Modified: 2026-10-15T22:17:41.720Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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

tipc: do not update mtu if msg_max is too small in mtu negotiation

When doing link mtu negotiation, a malicious peer may send Activate msg
with a very small mtu, e.g. 4 in Shuang's testing, without checking for
the minimum mtu, l->mtu will be set to 4 in tipc_link_proto_rcv(), then
n->links[bearer_id].mtu is set to 4294967228, which is a overflow of
'4 - INT_H_SIZE - EMSG_OVERHEAD' in tipc_link_mss().

With tipc_link.mtu = 4, tipc_link_xmit() kept printing the warning:

 tipc: Too large msg, purging xmit list 1 5 0 40 4!
 tipc: Too large msg, purging xmit list 1 15 0 60 4!

And with tipc_link_entry.mtu 4294967228, a huge skb was allocated in
named_distribute(), and when purging it in tipc_link_xmit(), a crash
was even caused:

  general protection fault, probably for non-canonical address 0x2100001011000dd: 0000 [#1] PREEMPT SMP PTI
  CPU: 0 PID: 0 Comm: swapper/0 Kdump: loaded Not tainted 6.3.0.neta #19
  RIP: 0010:kfree_skb_list_reason+0x7e/0x1f0
  Call Trace:
   <IRQ>
   skb_release_data+0xf9/0x1d0
   kfree_skb_reason+0x40/0x100
   tipc_link_xmit+0x57a/0x740 [tipc]
   tipc_node_xmit+0x16c/0x5c0 [tipc]
   tipc_named_node_up+0x27f/0x2c0 [tipc]
   tipc_node_write_unlock+0x149/0x170 [tipc]
   tipc_rcv+0x608/0x740 [tipc]
   tipc_udp_recv+0xdc/0x1f0 [tipc]
   udp_queue_rcv_one_skb+0x33e/0x620
   udp_unicast_rcv_skb.isra.72+0x75/0x90
   __udp4_lib_rcv+0x56d/0xc20
   ip_protocol_deliver_rcu+0x100/0x2d0

This patch fixes it by checking the new mtu against tipc_bearer_min_mtu(),
and not updating mtu if it is too small.

(As written by CVE List.)

## Affected

- Linux Linux: from ed193ece2649c194a87a9d8470195760d367c075 before 2bd4ff4ffb92113f8acd04dbaed83269172c24b4; from ed193ece2649c194a87a9d8470195760d367c075 before 575e84d90a74c0b091b3417ba763ebb237aa0a8c; from ed193ece2649c194a87a9d8470195760d367c075 before 259683001d7e879fea4b42084fb6560dd9408a7e; from ed193ece2649c194a87a9d8470195760d367c075 before 1dd7ae5e0cf5a56e513f7ab7ab9570b7496281d2; from ed193ece2649c194a87a9d8470195760d367c075 before 56077b56cd3fb78e1c8619e29581ba25a5c55e86; 4.1 (not affected: before 4.1; from 5.10.181 up to 5.10.*; from 5.15.113 up to 5.15.*; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 4.1 before 5.10.181; from 5.11 before 5.15.113; from 5.16 before 6.1.30; from 6.2 before 6.3.4; 6.4

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2bd4ff4ffb92113f8acd04dbaed83269172c24b4> (patch)
- <https://git.kernel.org/stable/c/575e84d90a74c0b091b3417ba763ebb237aa0a8c> (patch)
- <https://git.kernel.org/stable/c/259683001d7e879fea4b42084fb6560dd9408a7e> (patch)
- <https://git.kernel.org/stable/c/1dd7ae5e0cf5a56e513f7ab7ab9570b7496281d2> (patch)
- <https://git.kernel.org/stable/c/56077b56cd3fb78e1c8619e29581ba25a5c55e86> (patch)

## Sources

- CVE List: [CVE-2023-53517](https://www.cve.org/CVERecord?id=CVE-2023-53517), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53517](https://nvd.nist.gov/vuln/detail/CVE-2023-53517), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-53517 · Whole record: https://cve.day/CVE-2023-53517.json · Rebuilt by cve.day 2026-11-25T22:58:34.919Z
