{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-63887","published":"2026-07-19T16:17:05.853000Z","last_modified":"2026-10-22T14:33:17.540000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":["CWE-120","CWE-122"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.1","version_end_excluding":"5.10.259"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.210"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.176"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.143"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.93"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.35"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.0.12"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-63887/","html_en":"/en/cve/CVE-2026-63887/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63887","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-63887"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf\n\niscsi_encode_text_output() concatenates \"key=value\\0\" records into\nlogin->rsp_buf, an 8192-byte kzalloc(MAX_KEY_VALUE_PAIRS) buffer\nallocated in iscsit_alloc_login_setup_buffer(). The three sprintf() call\nsites in this function (lines 1398, 1411, 1424 in v7.1-rc2) never check\nthe remaining buffer capacity:\n\n\t*length += sprintf(output_buf, \"%s=%s\", er->key, er->value);\n\t*length += 1;\n\toutput_buf = textbuf + *length;\n\nThe 8192-byte ceiling at iscsi_target_check_login_request() bounds the\n*input* Login PDU payload, but a single PDU can carry up to 2048 minimal\nfour-byte \"a=b\\0\" pairs, each unknown key expanding to a 16-byte\n\"a=NotUnderstood\\0\" output record via iscsi_add_notunderstood_response().\n2048 * 16 = 32 KiB of output into an 8 KiB buffer, producing a ~24 KiB\nheap overrun in the kmalloc-8k slab.\n\nThe fix introduces a static iscsi_encode_text_record() helper that uses\nsnprintf() with a per-call bounds check against the remaining buffer,\nand threads a u32 textbuf_size parameter through\niscsi_encode_text_output(). Both call sites in\niscsi_target_handle_csg_zero() (PHASE_SECURITY) and\niscsi_target_handle_csg_one() (PHASE_OPERATIONAL) pass\nMAX_KEY_VALUE_PAIRS. On overflow the encoder logs the condition, calls\niscsi_release_extra_responses() to drop queued records, and returns -1;\nboth caller sites now emit ISCSI_STATUS_CLS_INITIATOR_ERR /\nISCSI_LOGIN_STATUS_INIT_ERR via iscsit_tx_login_rsp() before returning,\nso the initiator sees an explicit failed-login response rather than a\nsilent connection drop. (Prior to this patch only the PHASE_OPERATIONAL\ncaller did that; the PHASE_SECURITY caller is converted to the same\nshape.)","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/26e4a304b7e6f1338c675d527608d32549c091db","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/30bf335e8fe170322080ee001f05ca29c50680b3","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4e9f0c4a645c995bc75c06c7b3644254ffb4c76b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/594a40360012ce5f94c715d5e3b20fa3af7d525a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b19382dfc6e7dee6d3859ba44b6ca29e97a51627","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bf33e01f88388c43e285492a63e539df6ffed64c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/cb84e974fb172bc71386289f37b78ea679410b39","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/efe633e600a0ac68357206fede21b1ac8178f3b8","tags":["Patch"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:104678","url":"https://access.redhat.com/errata/RHSA-2026:104678","published":"2026-11-30T10:02:37+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel-rt security update"}},{"source":"redhat","id":"RHSA-2026:104679","url":"https://access.redhat.com/errata/RHSA-2026:104679","published":"2026-11-30T10:02:37+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}},{"source":"redhat","id":"RHSA-2026:102233","url":"https://access.redhat.com/errata/RHSA-2026:102233","published":"2026-11-23T20:43:54+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}},{"source":"suse","id":"openSUSE-SU-2026:22309-1","url":"https://www.suse.com/support/update/","published":"2026-11-09T18:11:28+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:24431-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624431-1/","published":"2026-10-26T08:55:50+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 10 for SUSE Linux Enterprise 16)"}},{"source":"suse","id":"SUSE-SU-2026:24455-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624455-1/","published":"2026-10-26T08:55:50+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel (Live Patch 10 for SUSE Linux Enterprise 16)"}}]}