← Back to archive

Daily update · Aug 22–23, 2026

Networking fixes: SMC memory safety, TCP MSS clamp, and driver corrections

A batch of bug fixes lands across net, net/sched, and Ethernet drivers, addressing use-after-free, divide-by-zero, and DMA mismatches.

In brief

This daily update covers a wide range of networking fixes, including memory-safety issues in SMC and XDP, a TCP MSS clamp, and several driver corrections. The changes address potential crashes, data corruption, and incorrect accounting.

Bug fixes

bnxt_en: fix hwmon callback and TPH gating

The hwmon event handler was called with the platform device instead of the hwmon device, and TPH was enabled on NICs without queue-management support, causing boot-time error floods.

Why it matters: Prevents undefined behavior in hwmon notifications and noisy 'RX queue restart failed' messages on older Broadcom NICs.

622d698df423a70859cf3121

net/smc: fix LLC queue entry use-after-free and rkey bounds

A queue entry was freed before its data was read, and v2 LLC messages could read past the entry or trust oversized rkey counts, leading to KASAN reports and incorrect rtoken deletion.

Why it matters: Fixes memory corruption and out-of-bounds access in SMC-Rv2 link setup.

a42a459ef0e52d1e7c5aaa338d3c1ab82c11

ntb_netdev: correct RX drop and packet accounting

The driver double-counted drops already handled by netif_rx() and failed to count packets dropped on refill failure.

Why it matters: Network statistics now reflect actual packet and drop counts.

82e15be2d8b931ded341c375

sparx5: fix debugfs naming and atomic-context MAC table access

Debugfs used unregistered netdev names causing warning floods; MAC table access slept while holding a spinlock.

Why it matters: Cleans boot warnings and prevents 'sleep in atomic context' errors.

b7adcc56fd3db62793a7baee

txgbe/libwx: fix interrupt unmasking and PTP flag race

txgbe unmasked the wrong interrupt bit in non-MSI-X mode; libwx used a racy read-copy-update on a flags bitmap.

Why it matters: Fixes missed interrupts and lost flag updates in Wangxun drivers.

7bf29145d7a9f05516dd7b86

net/sched: fix FQ pacing underflow and CAKE autorate throttle

FQ's pacing delay could underflow when offload enabled, halving the delay; CAKE's autorate guard never updated its timestamp, allowing excessive reconfiguration.

Why it matters: Improves pacing accuracy and reduces unnecessary shaper reconfiguration under bursty traffic.

137b8ae233ca7cbfb180945c

tcp: clamp route advmss to TCP_MIN_MSS

Route-derived MSS values could drop below 1, causing a divide-by-zero in window calculation.

Why it matters: Prevents a potential crash when routes advertise very small MSS.

870a9e42ecc6

xdp: fix zero-copy frame layout for cpumap redirect

The copied frame could overlap skb_shared_info or exceed the page, causing KASAN slab-out-of-bounds.

Why it matters: Fixes memory corruption when redirecting AF_XDP zero-copy packets through cpumap.

71283aaa6c65

gtp: serialize PDP context updates

Concurrent deletion via netlink and device unregister could free the same context twice.

Why it matters: Fixes a race that could lead to a general protection fault.

498386b6d402

qede: fix NULL pointer in TPA fragment processing

A dropped assignment left buffer.data NULL, causing a 'ghost' BD to be recycled and later dereferenced.

Why it matters: Fixes NULL pointer dereference under memory pressure.

06aa3d26327f

page_pool: stop passing device GFP flags to XArray

Device-specific GFP flags like GFP_DMA32 were passed to XArray allocations, triggering slab warnings.

Why it matters: Removes spurious warnings and incorrect allocation flags.

039f248a6cc1

hibmcge: fix page_pool DMA direction mismatch

The driver synced with DMA_TO_DEVICE while the pool used DMA_FROM_DEVICE, violating the DMA API contract.

Why it matters: Prevents swiotlb bounce-buffer issues and DMA API debug warnings.

11efd7963dac

ipip: fix skb leak in collect_md mode

When metadata_dst allocation failed, the skb was not freed.

Why it matters: Fixes a packet leak in IPIP tunnels using collect_md.

6776efe4a52f

ptp: netc: fix PEROUT period truncation and divide-by-zero

A period bound check allowed values above U32_MAX, which were truncated and could cause a divide-by-zero.

Why it matters: Fixes potential crash in PTP PEROUT configuration.

777dbc9914b2

net/sched: account classifier allocations to memcg

Filter allocations used plain GFP_KERNEL, allowing unprivileged users to pin kernel memory outside memcg charging.

Why it matters: Closes a memory-accounting gap for tc classifier filters.

1beb81947eb4

Source commits23 entries +
b5fa55ad0070

i2c: rust: mark I2cAdapter methods as inline

Nicolás Antinori · May 21, 2026 · 1 files

b7adcc56fd3d

net: microchip: vcap: use port number instead of netdev name for debugfs

Daniel Machon · Aug 17, 2026 · 3 files

b62793a7baee

net: sparx5: fix sleep in atomic context in MAC table access

Daniel Machon · Aug 17, 2026 · 1 files

7bf29145d7a9

net: txgbe: fix MISC interrupt unmasking in non-MSI-X mode and device shutdown

Jiawen Wu · Aug 18, 2026 · 1 files

06aa3d26327f

qede: Fix NULL pointer dereference in TPA fragment processing

Vaibhav Nagare · Aug 18, 2026 · 2 files

f05516dd7b86

net: libwx: fix concurrent bitmap overwrite in PTP setup

Jiawen Wu · Aug 18, 2026 · 1 files

498386b6d402

gtp: serialize PDP context updates

Qing Ming · Aug 18, 2026 · 1 files

71283aaa6c65

xdp: fix zero-copy frame layout

Weiming Shi · Aug 18, 2026 · 1 files

a42a459ef0e5

net/smc: fix use-after-free of the LLC qentry in smc_llc_srv_add_link()

Yehyeong Lee · Aug 19, 2026 · 1 files

2d1e7c5aaa33

net/smc: bound the peer rkey counts in SMC-Rv2 LLC messages

Yehyeong Lee · Aug 19, 2026 · 1 files

8d3c1ab82c11

net/smc: carry oversized SMC-Rv2 LLC messages in the queue entry

Yehyeong Lee · Aug 19, 2026 · 2 files

6776efe4a52f

ipip: fix skb leak in collect_md mode when metadata_dst allocation fails

Anton Danilov · Aug 19, 2026 · 1 files

1beb81947eb4

net/sched: account classifier filter allocations to memcg

Jamal Hadi Salim · Aug 19, 2026 · 10 files

870a9e42ecc6

tcp: clamp route advmss to TCP_MIN_MSS

Yong Wang · Aug 19, 2026 · 5 files

82e15be2d8b9

net: ntb_netdev: Avoid double-accounting netif_rx() drops

Koichiro Den · Aug 19, 2026 · 1 files

31ded341c375

net: ntb_netdev: Count packets dropped on RX refill failure

Koichiro Den · Aug 19, 2026 · 1 files

137b8ae233ca

net_sched: sch_fq: fix pacing delay underflow with pacing offload

Eric Dumazet · Aug 20, 2026 · 1 files

11efd7963dac

net: hibmcge: fix page_pool DMA direction mismatch

Jian Shen · Aug 20, 2026 · 1 files

7cbfb180945c

net/sched: sch_cake: fix autorate reconfiguration throttling

Giuseppe Piscitelli · Aug 20, 2026 · 1 files

039f248a6cc1

net: page_pool: Remove zone/policy GFP flags when allocating XArray entries

Rong Zhang · Aug 20, 2026 · 1 files

a70859cf3121

bnxt_en: Gate TPH enablement behind BNXT_SUPPORTS_QUEUE_API check

Thomas Walsh · Aug 20, 2026 · 1 files

777dbc9914b2

ptp: netc: fix period truncation and potential divide-by-zero in PEROUT

Wei Fang · Aug 21, 2026 · 1 files

622d698df423

bnxt_en: Fix call to hardware monitoring event handler

Guenter Roeck · Aug 21, 2026 · 1 files