diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-05-06 17:39:22 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-06 17:39:22 -0700 |
| commit | e4182739363b32c33012daf3b77a8cab3cd160be (patch) | |
| tree | a256a46bc8fc92a5ee81952c40f6582e8c61a09d /scripts/Makefile.vmlinux | |
| parent | 7aaa8f5e45a92678256c1e17f1fa2c2f45c61dd1 (diff) | |
| parent | 07bdec3fc737aac7f4c273aafa803d353174c43e (diff) | |
Merge branch 'netdevsim-psp-fix-init-and-uninit-bugs'
Daniel Zahka says:
====================
netdevsim: psp: fix init and uninit bugs
This series has three fixes. The first is a straightforward NULL
pointer dereference that is reachable by creating and destroying some
vfs on a kernel with INET_PSP enabled.
The last two patches deal with nsim_psp_rereg_write(), which is a
debugfs handler that reregisters netdevsim's psp_dev without
aquiescing and disabling tx/rx processing. This was added to enable
some tests in psp.py where a psp device is unregistered while it still
referenced by tcp socket state.
There are two issues with this code:
1. Calls to nsim_psp_uninit() are not properly serialized
2. netdevsim's psp_dev refcount can be released while nsim_do_psp() is
reading from it.
====================
Link: https://patch.msgid.link/20260505-psd-rcu-v1-0-a8f69ec1ab96@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.vmlinux')
0 files changed, 0 insertions, 0 deletions
