zephyr/subsys
Robert Lubos 5f6b4479ed net: conn: Improve thread safety in connection module
Iterating over connection list w/o mutex lock could lead to a crash on
constant incoming packet flow. Fix this by:

1. Adding mutex lock when iterating over an active connection list, to
   prevent list corruption.
2. Create a copy of the callback and user data pointers before releasing
   lock, to prevent NULL pointer dereference in case connection is
   released before callback is executed.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-12-06 09:23:54 +00:00
..
bindesc subsys/bindesc: Fix kconfig dependency 2023-11-20 12:02:48 +01:00
bluetooth Bluetooth: Shell: Workaround coverity uint comparation 2023-12-04 16:37:36 +00:00
canbus drivers: can: unify spelling of CAN Flexible Data-rate abbreviation 2023-11-01 11:17:17 +00:00
console
debug shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
demand_paging kernel: mm: only include demand_paging.h if needed 2023-11-23 10:01:45 +01:00
dfu shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
disk
dsp
emul
fb
fs flash host fuse access: Fix for native_sim 2023-11-17 09:23:48 +01:00
input input: make short-inputs optional 2023-11-23 09:51:57 +00:00
ipc ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
jwt
llext llext: fix read-only extension image 2023-12-01 10:08:12 -05:00
logging llext: export some symbols 2023-12-01 10:08:12 -05:00
lorawan lorawan: use callback function signature typedefs 2023-11-13 09:53:32 +01:00
mem_mgmt mem_mgmt: Add a memory attributes memory allocator 2023-11-27 19:56:48 +01:00
mgmt mgmt/osdp: Make OSDP slab init safer 2023-11-30 10:02:20 +01:00
modbus modbus: Add dependency to UART runtime configuration 2023-11-15 10:02:18 +01:00
modem modem: backend: uart_async: Remove UART flush 2023-11-20 13:03:08 +01:00
net net: conn: Improve thread safety in connection module 2023-12-06 09:23:54 +00:00
pm pm: device_runtime: release power domain multiple times 2023-12-06 09:16:12 +00:00
portability portability: fix thread function signatures 2023-10-30 12:24:34 +01:00
random syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
retention
rtio syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
sd sd: add SDIO subsystem 2023-11-06 19:01:08 -05:00
sensing
settings settings: Remove leftover duplicate and unused declarations 2023-11-29 10:09:59 +01:00
shell shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
sip_svc
stats shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
storage
task_wdt
testsuite tests: userspace: exclude ucans32k1sic due to lack of MPU regions 2023-12-05 16:20:10 -06:00
timing
tracing
usb shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
zbus zbus: remove superflous default n from runtime observers 2023-11-28 15:33:42 +01:00
CMakeLists.txt drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00
Kconfig drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00