{"id":"CVE-2026-142894","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:28.533","lastModified":"2026-12-03T04:18:28.533","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/rds: do not fail init when CONFIG_SYSCTL=n\n\nWith CONFIG_SYSCTL=n, register_net_sysctl() and register_net_sysctl_sz()\nare inline stubs that return NULL.  rds_sysctl_init(),\nrds_ib_sysctl_init() and rds_tcp_init_net() all treat that NULL as\n-ENOMEM, so RDS refuses to initialize at all even though every tunable\nhas a sane compiled-in default.\n\nWhen RDS is built in, that is worse than a missing feature: the failed\nrds_init() destroys rds_wq, but the rds_rdma initcall still runs, and\nwhen rds_ib_sysctl_init() fails the same way, the error path in\nrds_ib_init() flushes the already freed workqueue:\n\n  BUG: KASAN: slab-use-after-free in touch_wq_lockdep_map\n  ...\n   __flush_workqueue\n   rds_ib_init\n   rds_rdma_init\n  ...\n  Allocated by task 1:\n   alloc_workqueue_noprof\n   rds_threads_init\n   rds_init\n  ...\n  Freed by task 0:\n   kfree\n   rcu_do_batch\n\nOnly treat the NULL return as a failure when sysctl support is actually\ncompiled in.  The exit paths need no change: unregister_net_sysctl_table()\nis an empty stub with CONFIG_SYSCTL=n and already tolerates a NULL header\notherwise.\n\nThe underlying problem of built-in transports initializing after\nrds_init() has failed is independent of sysctl and is addressed\nseparately."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/rds/ib_sysctl.c","net/rds/sysctl.c","net/rds/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3e5048495c8569bfdd552750e0315973c61e7c93","lessThan":"e797c9a33afe7ef07c9af1bd42f453e353b73467","versionType":"git","status":"affected"},{"version":"3e5048495c8569bfdd552750e0315973c61e7c93","lessThan":"feed9ef31f2e10d24591896ffe67aca28c5b9bf9","versionType":"git","status":"affected"},{"version":"3e5048495c8569bfdd552750e0315973c61e7c93","lessThan":"a44fb05720d1ce02c2c1e1731614595819db0202","versionType":"git","status":"affected"},{"version":"3e5048495c8569bfdd552750e0315973c61e7c93","lessThan":"0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d","versionType":"git","status":"affected"},{"version":"3e5048495c8569bfdd552750e0315973c61e7c93","lessThan":"fbea154a86641d2543a871aa19f7c77a366de542","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/rds/ib_sysctl.c","net/rds/sysctl.c","net/rds/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/0dd3cabf0fc8c675ee550681e6b9bf8f4e11378d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a44fb05720d1ce02c2c1e1731614595819db0202","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e797c9a33afe7ef07c9af1bd42f453e353b73467","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fbea154a86641d2543a871aa19f7c77a366de542","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/feed9ef31f2e10d24591896ffe67aca28c5b9bf9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}