Skip to contentSkip to conversation

CVE-2026-98403: s390/boot: Avoid IPL parameter append past command line

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 14

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

s390/boot: Avoid IPL parameter append past command line

A command line may occupy all but the terminating byte of COMMAND_LINE_SIZE. In that case append_ipl_block_parm() passes a zero size to the IPL parameter conversion helpers and points the destination one byte past early_command_line. The helpers subtract one from the unsigned size and write the converted parameter outside the command line buffer.

Convert the IPL parameter in the command line parsing buffer first. A parameter beginning with '=' can then replace the existing command line regardless of its length, while other parameters are appended only when space remains.

The Linux kernel CVE team has assigned CVE-2026-98403 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.16 with commit 5ecb2da660ab8eddafe059a6a8a708465db89ca2 and fixed in 6.12.112 with commit af9866021a00ab9eeacf0c33ee73f3d134b4ed70
	Issue introduced in 5.16 with commit 5ecb2da660ab8eddafe059a6a8a708465db89ca2 and fixed in 6.18.53 with commit 73eec5a0d55916d7e1115f5d03a7ffc06d6215cf
	Issue introduced in 5.16 with commit 5ecb2da660ab8eddafe059a6a8a708465db89ca2 and fixed in 7.2.7 with commit 8d11bfec8666f8409fac9072e9c25b691d3e30ac
	Issue introduced in 5.16 with commit 5ecb2da660ab8eddafe059a6a8a708465db89ca2 and fixed in 7.3-rc2 with commit d76181dfabdaa720703167393704efacba343442

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98403

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	arch/s390/boot/ipl_parm.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/af9866021a00ab9eeacf0c33ee73f3d134b4ed70
	https://git.kernel.org/stable/c/73eec5a0d55916d7e1115f5d03a7ffc06d6215cf
	https://git.kernel.org/stable/c/8d11bfec8666f8409fac9072e9c25b691d3e30ac
	https://git.kernel.org/stable/c/d76181dfabdaa720703167393704efacba343442