CVE-2026-98239

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

HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.43 % · percentile 38 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < 0e52886c4324c9897c2c62f92be3dc8316cee67e ; affected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < a58024835c704419bb46d2a34e5223f65605f958 ; affected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < 6fe5c3a2503983abb431d93faeadfc7f5e6a7e33 ; affected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < 5c216bfa9fb7b36804485e67975e9c98055b31ef ; affected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < 161a403c8625e152de03d1da22bbf9cda6dc9f9f ; affected cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a < a9ce4053dc945c5372dedba5017ee675b30dc0c5
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.54 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD