{"api_version":"1","generated_at":"2026-11-30T19:45:59+00:00","cve":"CVE-2026-139228","urls":{"html":"https://cve.report/CVE-2026-139228","api":"https://cve.report/api/cve/CVE-2026-139228.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139228","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139228"},"summary":{"title":"ocfs2: initialize status waiters before publishing them","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: initialize status waiters before publishing them\n\no2net_prep_nsw() publishes its stack waiter in nn_status_idr and\nnn_status_list under nn_lock, then initializes the wait queue and\ncompletion status after releasing the lock.  A concurrent disconnect can\nfind that waiter through o2net_complete_nodes_nsw() and call wake_up()\nbefore the wait queue has a valid lock and list head.  The sender can also\noverwrite a completion status with its initial value.\n\nInitialize the wait queue and status before publishing the waiter. \nnn_lock then orders publication against completion, and no reader can\nobserve a partially initialized object.  Leave the IDR allocation and its\nfailure handling unchanged.\n\nA controlled case-modified test kernel used a synthetic connection to\nenter the real send path and overlap publication with disconnect.  The\ncandidate completion and wake-up code were unchanged.  Its Oops includes:\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:__wake_up_common+0xa0/0x1f0\n  Call Trace:\n   <TASK>\n   __wake_up+0x36/0x60\n   o2net_complete_nsw_locked+0x222/0x370\n   o2net_set_nn_state+0x917/0xea0\n   o2net_disconnect_node+0xd0/0x190\n   o2net_validate_control_write+0x454/0x500\n   full_proxy_write+0x11f/0x180\n   vfs_write+0x25a/0x1010\n   ksys_write+0x111/0x200\n   do_syscall_64+0x114/0x620\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n   </TASK>\n  Modules linked in:","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:44","updated_at":"2026-11-30 14:18:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f6bfa6c458288d72948af95391b205f3eb775721","name":"https://git.kernel.org/stable/c/f6bfa6c458288d72948af95391b205f3eb775721","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4a4d57f94d5112b3bf1e373caee8cf1042c4c118","name":"https://git.kernel.org/stable/c/4a4d57f94d5112b3bf1e373caee8cf1042c4c118","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f983e104a31bbe7db4619f81535d82f11461651f","name":"https://git.kernel.org/stable/c/f983e104a31bbe7db4619f81535d82f11461651f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9720ce784f037e2cccc03997570af7f62b7f7299","name":"https://git.kernel.org/stable/c/9720ce784f037e2cccc03997570af7f62b7f7299","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5ba99da09a5b3eb9e58bc56a5062991ed1c99c56","name":"https://git.kernel.org/stable/c/5ba99da09a5b3eb9e58bc56a5062991ed1c99c56","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ab84d267b49b0179d088972d72081dd9da557996","name":"https://git.kernel.org/stable/c/ab84d267b49b0179d088972d72081dd9da557996","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/461030dcd0e1222a80ee4085d60d9d80b4aeb0a9","name":"https://git.kernel.org/stable/c/461030dcd0e1222a80ee4085d60d9d80b4aeb0a9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d0820f27eefc7369848e074a1790c24a729e135","name":"https://git.kernel.org/stable/c/5d0820f27eefc7369848e074a1790c24a729e135","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139228","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139228","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 461030dcd0e1222a80ee4085d60d9d80b4aeb0a9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 9720ce784f037e2cccc03997570af7f62b7f7299 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 5d0820f27eefc7369848e074a1790c24a729e135 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 5ba99da09a5b3eb9e58bc56a5062991ed1c99c56 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 ab84d267b49b0179d088972d72081dd9da557996 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 f983e104a31bbe7db4619f81535d82f11461651f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 4a4d57f94d5112b3bf1e373caee8cf1042c4c118 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 98211489d4147e41b11703e4245846d60b3acce4 f6bfa6c458288d72948af95391b205f3eb775721 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ocfs2/cluster/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"461030dcd0e1222a80ee4085d60d9d80b4aeb0a9","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"9720ce784f037e2cccc03997570af7f62b7f7299","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"5d0820f27eefc7369848e074a1790c24a729e135","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"5ba99da09a5b3eb9e58bc56a5062991ed1c99c56","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"ab84d267b49b0179d088972d72081dd9da557996","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"f983e104a31bbe7db4619f81535d82f11461651f","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"4a4d57f94d5112b3bf1e373caee8cf1042c4c118","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"},{"lessThan":"f6bfa6c458288d72948af95391b205f3eb775721","status":"affected","version":"98211489d4147e41b11703e4245846d60b3acce4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ocfs2/cluster/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.16"},{"lessThan":"2.6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"2.6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: initialize status waiters before publishing them\n\no2net_prep_nsw() publishes its stack waiter in nn_status_idr and\nnn_status_list under nn_lock, then initializes the wait queue and\ncompletion status after releasing the lock.  A concurrent disconnect can\nfind that waiter through o2net_complete_nodes_nsw() and call wake_up()\nbefore the wait queue has a valid lock and list head.  The sender can also\noverwrite a completion status with its initial value.\n\nInitialize the wait queue and status before publishing the waiter. \nnn_lock then orders publication against completion, and no reader can\nobserve a partially initialized object.  Leave the IDR allocation and its\nfailure handling unchanged.\n\nA controlled case-modified test kernel used a synthetic connection to\nenter the real send path and overlap publication with disconnect.  The\ncandidate completion and wake-up code were unchanged.  Its Oops includes:\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:__wake_up_common+0xa0/0x1f0\n  Call Trace:\n   <TASK>\n   __wake_up+0x36/0x60\n   o2net_complete_nsw_locked+0x222/0x370\n   o2net_set_nn_state+0x917/0xea0\n   o2net_disconnect_node+0xd0/0x190\n   o2net_validate_control_write+0x454/0x500\n   full_proxy_write+0x11f/0x180\n   vfs_write+0x25a/0x1010\n   ksys_write+0x111/0x200\n   do_syscall_64+0x114/0x620\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n   </TASK>\n  Modules linked in:"}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:48.477Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/461030dcd0e1222a80ee4085d60d9d80b4aeb0a9"},{"url":"https://git.kernel.org/stable/c/9720ce784f037e2cccc03997570af7f62b7f7299"},{"url":"https://git.kernel.org/stable/c/5d0820f27eefc7369848e074a1790c24a729e135"},{"url":"https://git.kernel.org/stable/c/5ba99da09a5b3eb9e58bc56a5062991ed1c99c56"},{"url":"https://git.kernel.org/stable/c/ab84d267b49b0179d088972d72081dd9da557996"},{"url":"https://git.kernel.org/stable/c/f983e104a31bbe7db4619f81535d82f11461651f"},{"url":"https://git.kernel.org/stable/c/4a4d57f94d5112b3bf1e373caee8cf1042c4c118"},{"url":"https://git.kernel.org/stable/c/f6bfa6c458288d72948af95391b205f3eb775721"}],"title":"ocfs2: initialize status waiters before publishing them","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139228","datePublished":"2026-11-30T13:32:48.477Z","dateReserved":"2026-11-30T13:22:15.921Z","dateUpdated":"2026-11-30T13:32:48.477Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:44","lastModifiedDate":"2026-11-30 14:18:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139228","Ordinal":"1","Title":"ocfs2: initialize status waiters before publishing them","CVE":"CVE-2026-139228","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139228","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: initialize status waiters before publishing them\n\no2net_prep_nsw() publishes its stack waiter in nn_status_idr and\nnn_status_list under nn_lock, then initializes the wait queue and\ncompletion status after releasing the lock.  A concurrent disconnect can\nfind that waiter through o2net_complete_nodes_nsw() and call wake_up()\nbefore the wait queue has a valid lock and list head.  The sender can also\noverwrite a completion status with its initial value.\n\nInitialize the wait queue and status before publishing the waiter. \nnn_lock then orders publication against completion, and no reader can\nobserve a partially initialized object.  Leave the IDR allocation and its\nfailure handling unchanged.\n\nA controlled case-modified test kernel used a synthetic connection to\nenter the real send path and overlap publication with disconnect.  The\ncandidate completion and wake-up code were unchanged.  Its Oops includes:\n\n  KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n  RIP: 0010:__wake_up_common+0xa0/0x1f0\n  Call Trace:\n   <TASK>\n   __wake_up+0x36/0x60\n   o2net_complete_nsw_locked+0x222/0x370\n   o2net_set_nn_state+0x917/0xea0\n   o2net_disconnect_node+0xd0/0x190\n   o2net_validate_control_write+0x454/0x500\n   full_proxy_write+0x11f/0x180\n   vfs_write+0x25a/0x1010\n   ksys_write+0x111/0x200\n   do_syscall_64+0x114/0x620\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f\n   </TASK>\n  Modules linked in:","Type":"Description","Title":"ocfs2: initialize status waiters before publishing them"}]}}}