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 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
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 subsys/disk: No need of runtime intialization for disk access part 2023-03-13 18:34:40 +00:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul emul: Don't panic if matching emul can't be found 2023-07-18 11:09:08 +00:00
fb fb: cfb: Remove unused value 2023-08-14 18:08:59 +00:00
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 random: Rename random header 2023-10-10 14:23:50 +03:00
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 retention: blinfo: Fix issue with crash writing to keys 2023-10-12 11:53:21 +01:00
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 sensing: sensor_mgmt: s/device.h/init.h 2023-08-29 12:17:24 +01:00
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 subsystem: sip_svc: Reduce the max timeout to 1 second. 2023-09-15 09:26:49 +02:00
stats shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
storage storage: rename shadow variables 2023-08-22 11:39:58 +02:00
task_wdt task_wdt: fix race condition for task_wdt_add function 2023-10-09 16:10:00 +03:00
testsuite tests: userspace: exclude ucans32k1sic due to lack of MPU regions 2023-12-05 16:20:10 -06:00
timing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing kernel: rename z_current_get() to k_sched_current_thread_query() 2023-09-28 16:15:46 +02:00
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