Skip to content

[ciqcbr7_9] Multiple patches tested (5 commits) - #1872

Open
ciq-kernel-automation[bot] wants to merge 5 commits into
ciqcbr7_9from
{ciq_kernel_automation-46824510296}_ciqcbr7_9
Open

ciq-kernel-automation[bot] wants to merge 5 commits into
ciqcbr7_9from
{ciq_kernel_automation-46824510296}_ciqcbr7_9

Conversation

@ciq-kernel-automation

Copy link
Copy Markdown

Summary

This PR has been automatically created after successful completion of all CI stages.

Commit Message(s)

scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()

jira VULN-190423
cve CVE-2026-46149
commit-author Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 772a896a56e0e3ef9424a025cec9176f9d8f4552
netfilter: nf_conntrack: use get_unaligned_be32() in tcp_sack()

jira VULN-213138
cve CVE-2026-97417
commit-author Rosen Penev <rosenp@gmail.com>
commit d3bf9eae486490832bd08fd62ab0ac601f346bd4
net/iucv: fix use-after-free of a severed iucv_path

jira VULN-197269
cve CVE-2026-68140
commit-author Bryam Vargas <hexlabsecurity@proton.me>
commit be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a
ipvs: do not propagate one-packet flag to synced conns

jira VULN-207982
cve CVE-2026-80714
commit-author Zhiling Zou <roxy520tt@gmail.com>
commit a63d2dbaeb50a85d4c976b15a36e6b0c7113db5b
scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer

jira VULN-204160
cve CVE-2026-74556
commit-author HyeongJun An <sammiee5311@gmail.com>
commit c1dea15f819cded9b3faf58f8bec72323568b6e6

Test Results

✅ Build Stage

  • Status: Passed (x86_64)

  • Build Time: 9m 17s

  • Total Time: 10m 10s

  • View build logs

✅ Boot Verification


🤖 This PR was automatically generated by GitHub Actions
Run ID: 46829478502

CIQ Kernel Automation added 5 commits December 2, 2026 06:54
…how()

jira VULN-190423
cve CVE-2026-46149
commit-author Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 772a896

target_tg_pt_gp_members_show() formats LUN paths with snprintf() into a
256-byte stack buffer, then will memcpy() cur_len bytes from that
buffer.  snprintf() returns the length the output would have had, which
can exceed the buffer size when the fabric WWN is long because iSCSI IQN
names can be up to 223 bytes.  The check at the memcpy() site only
guards the destination page write, not the source read, so memcpy() will
read past the stack buffer and copy adjacent stack contents to the sysfs
reader, which when CONFIG_FORTIFY_SOURCE is enabled, fortify_panic()
will be triggered.

Commit 27e0665 ("scsi: target: target_core_configfs: Add length
check to avoid buffer overflow") added the same bound to the
target_lu_gp_members_show() but the tg_pt_gp variant was missed so
resolve that here.

	Cc: Martin K. Petersen <martin.petersen@oracle.com>
Fixes: c66ac9d ("[SCSI] target: Add LIO target core v4.0.0-rc6")
Assisted-by: gregkh_clanker_t1000
	Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/2026041159-garter-theft-3be0@gregkh
	Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 772a896)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>
jira VULN-213138
cve CVE-2026-97417
commit-author Rosen Penev <rosenp@gmail.com>
commit d3bf9ea

The timestamp-only fast path dereferences the option stream as
*(__be32 *)ptr, which assumes 4-byte alignment that the TCP option
stream does not guarantee. Use get_unaligned_be32() instead, which
reads the value safely and already returns host byte order, so the
htonl() on the comparison constant can be dropped.

This matches the existing get_unaligned_be32() use later in the same
function.

Assisted-by: Claude:Opus-4.7
	Signed-off-by: Rosen Penev <rosenp@gmail.com>
	Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
	Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit d3bf9ea)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>
jira VULN-197269
cve CVE-2026-68140
commit-author Bryam Vargas <hexlabsecurity@proton.me>
commit be7cc46

af_iucv queues not-yet-received message notifications on iucv->message_q,
each holding a raw pointer to the connection's iucv_path.  When the peer
severs the connection, iucv_sever_path() frees that path with
iucv_path_free() but leaves the notifications queued.  A later recvmsg()
drains message_q via iucv_process_message_q() and hands the stale path to
message_receive() -- a use-after-free of the freed iucv_path.

Drop the queued notifications when the path is severed; once the path is
gone they can no longer be received.  This also frees the notifications
leaked when a socket is closed with messages still queued.

Fixes: f0703c8 ("[AF_IUCV]: postpone receival of iucv-packets")
Closes: https://sashiko.dev/#/patchset/20260705-b4-disp-fc79c0dc-v1-1-d2cdcb57afa9@proton.me?part=1
	Cc: stable@vger.kernel.org
	Signed-off-by: Bryam Vargas <hexlabsecurity@proton.me>
Link: https://patch.msgid.link/20260707-b4-disp-783fedbb-v1-1-463b9dbda2ea@proton.me
	Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit be7cc46)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>
jira VULN-207982
cve CVE-2026-80714
commit-author Zhiling Zou <roxy520tt@gmail.com>
commit a63d2db

Synced connections can be created before their destination exists. When
the destination is later added, ip_vs_bind_dest() copies connection flags
from the destination into cp->flags.

IP_VS_CONN_F_ONE_PACKET connections are not synced. If a synced
connection inherits IP_VS_CONN_F_ONE_PACKET while it is already hashed,
expiry can treat it as a one-packet connection and skip unlinking the
existing conn_tab node, leaving stale hash nodes pointing at a freed
struct ip_vs_conn.

Drop IP_VS_CONN_F_ONE_PACKET from destination flags when binding synced
connections.

Fixes: 26ec037 ("IPVS: one-packet scheduling")
	Cc: stable@vger.kernel.org
	Reported-by: Yuan Tan <yuantan098@gmail.com>
	Reported-by: Yifan Wu <yifanwucs@gmail.com>
	Reported-by: Juefei Pu <tomapufckgml@gmail.com>
	Reported-by: Xin Liu <bird@lzu.edu.cn>
	Suggested-by: Julian Anastasov <ja@ssi.bg>
	Signed-off-by: Zhiling Zou <roxy520tt@gmail.com>
	Signed-off-by: Ren Wei <n05ec@lzu.edu.cn>
	Acked-by: Julian Anastasov <ja@ssi.bg>
	Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
(cherry picked from commit a63d2db)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>
…n buffer

jira VULN-204160
cve CVE-2026-74556
commit-author HyeongJun An <sammiee5311@gmail.com>
commit c1dea15

iscsi_tcp_hdr_dissect() receives the data segment of several PDU types
into the fixed-size conn->data buffer, which is allocated for
ISCSI_DEF_MAX_RECV_SEG_LEN (8192) bytes.  For the LOGIN_RSP, TEXT_RSP,
REJECT and ASYNC_EVENT opcodes the dissect path already rejects a PDU
whose DataSegmentLength exceeds that buffer.

The SCSI Command Response (ISCSI_OP_SCSI_CMD_RSP) path also copies its
data segment (sense/response data) into conn->data via
iscsi_tcp_data_recv_prep(), but it does so without the same check.  The
only upstream bound on in.datalen is conn->max_recv_dlength, the
initiator's advertised MaxRecvDataSegmentLength, which is commonly
negotiated well above 8192 (open-iscsi defaults to 262144).  A target
that returns a SCSI Response with a DataSegmentLength between 8193 and
max_recv_dlength therefore overflows the 8192-byte conn->data buffer.

Once the same bound applies, ISCSI_OP_SCSI_CMD_RSP is handled exactly
like those responses: bound the data segment, receive it into conn->data
when present, and otherwise complete the PDU with no data.  Fold the
opcode into that case group rather than duplicating the check.

Fixes: a081c13 ("[SCSI] iscsi_tcp: split module into lib and lld")
	Suggested-by: Chris Leech <cleech@redhat.com>
Assisted-by: Claude:claude-opus-4-8
	Signed-off-by: HyeongJun An <sammiee5311@gmail.com>
	Acked-by: Chris Leech <cleech@redhat.com>
Link: https://patch.msgid.link/20260716065848.1653431-1-sammiee5311@gmail.com
	Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit c1dea15)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>
@ciq-kernel-automation ciq-kernel-automation Bot added the created-by-kernelci Tag PRs that were automatically created when a user branch was pushed to the repo (kernelCI) label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🔍 Diffofdiffs: 2 of 5 backports differ from upstream

View the diffofdiffs report.

Open to anyone signed in to GitHub. Report expires 2027-03-02 07:24 UTC.

# Subject Backport Upstream
1 net/iucv: fix use-after-free of a severed iucv_path 3d096813824d be7cc4656eb1
2 scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer e44c0c45b474 c1dea15f819c

Checked PR revision e44c0c45b474 against base d6a963f45e3e.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🤖 Validation Checks In Progress Workflow run: https://github.com/ctrliq/kernel-src-tree/actions/runs/46834030103

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

✅ Validation checks completed successfully View full results: https://github.com/ctrliq/kernel-src-tree/actions/runs/46834030103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by-kernelci Tag PRs that were automatically created when a user branch was pushed to the repo (kernelCI)

Development

Successfully merging this pull request may close these issues.

0 participants