Thread (10 messages) 10 messages, 5 authors, 2025-09-02

Re: [PATCH v2 net 0/3] Introduce refcount_t for reference counting of rose_neigh

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-08-27 14:50:02
Also in: linux-hams

Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Sat, 23 Aug 2025 17:58:54 +0900 you wrote:
The current implementation of rose_neigh uses 'use' and 'count' field of
type unsigned short as a reference count. This approach lacks atomicity,
leading to potential race conditions. As a result, syzbot has reported
slab-use-after-free errors due to unintended removals.

This series introduces refcount_t for reference counting to ensure
atomicity and prevent race conditions. The patches are structured as
follows:

[...]
Here is the summary with links:
  - [v2,net,1/3] net: rose: split remove and free operations in rose_remove_neigh()
    https://git.kernel.org/netdev/net/c/dcb34659028f
  - [v2,net,2/3] net: rose: convert 'use' field to refcount_t
    https://git.kernel.org/netdev/net/c/d860d1faa6b2
  - [v2,net,3/3] net: rose: include node references in rose_neigh refcount
    https://git.kernel.org/netdev/net/c/da9c9c877597

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help