# CVE-2026-98239: net: lan743x: fix RX checksum use-after-free

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/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.43%, higher than 39% of CVEs (2026-12-02)
- Published: 2026-10-06T08:45:10.611Z
- Modified: 2026-10-19T10:18:24.750Z
- Assigned by: Linux

## Description

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

net: lan743x: fix RX checksum use-after-free

lan743x_rx_process_buffer() adds each non-first receive buffer to the
head skb's frag_list.  On the last descriptor, lan743x_rx_trim_skb()
linearizes the head and frees the fragment skb metadata.

The checksum-success path then writes ip_summed through the local skb
pointer, which still points to the final fragment.  This causes a
use-after-free write when a packet spans more than one receive buffer.

Set ip_summed on the surviving head skb instead.  Multi-buffer receive
can occur after a live MTU increase because existing ring entries keep
their old buffer size until they are replenished.

A KUnit test invoking lan743x_rx_process_buffer() with a two-buffer
packet produced a one-byte KASAN use-after-free write before this change.
The same test passed after the change.  The driver object also builds
with W=1.  This was not tested on physical LAN743x hardware.

(As written by CVE List.)

## Affected

- Linux Linux: from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before 0e52886c4324c9897c2c62f92be3dc8316cee67e; from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before a58024835c704419bb46d2a34e5223f65605f958; from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before 6fe5c3a2503983abb431d93faeadfc7f5e6a7e33; from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before 5c216bfa9fb7b36804485e67975e9c98055b31ef; from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before 161a403c8625e152de03d1da22bbf9cda6dc9f9f; from cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a before a9ce4053dc945c5372dedba5017ee675b30dc0c5; 6.1 (not affected: before 6.1; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0e52886c4324c9897c2c62f92be3dc8316cee67e>
- <https://git.kernel.org/stable/c/a58024835c704419bb46d2a34e5223f65605f958>
- <https://git.kernel.org/stable/c/6fe5c3a2503983abb431d93faeadfc7f5e6a7e33>
- <https://git.kernel.org/stable/c/5c216bfa9fb7b36804485e67975e9c98055b31ef>
- <https://git.kernel.org/stable/c/161a403c8625e152de03d1da22bbf9cda6dc9f9f>
- <https://git.kernel.org/stable/c/a9ce4053dc945c5372dedba5017ee675b30dc0c5>

## Sources

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

---

Page: https://cve.day/CVE-2026-98239 · Whole record: https://cve.day/CVE-2026-98239.json · Rebuilt by cve.day 2026-11-25T22:59:42.299Z
