Shellfeed logo Shellfeed

CVE-2026-68135 · UNKNOWN

Summary: net: hip04: fix RX buffer leak on build_skb failure

Details

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

net: hip04: fix RX buffer leak on build_skb failure

When build_skb() fails in hip04_rx_poll(), the driver jumps to the
refill path without releasing the current RX buffer and its DMA mapping.
Installing a replacement buffer then overwrites the slot references and
leaks both resources.

Keep the current slot intact and return budget so NAPI retries the same
buffer. Also free a newly allocated RX fragment when dma_map_single()
fails.

This issue was found by an in-house static analysis tool.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [701a0fd5231866db08cebcd502894699f49cb960 – 690ecc13a4032e5cae1dc6659512f32b033533b0]
  • Linux Kernel [4.5.0 – 5.10.265] [5.11.0 – 5.15.216] [5.16.0 – 6.1.183] [6.2.0 – 6.6.148] [6.7.0 – 6.12.101] [6.13.0 – 6.18.42] [6.19.0 – 7.1.6]

References