# CVE-2024-45005: KVM: s390: fix validity interception issue when gisa is switched off

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-09-04T19:54:47.694Z
- **Modified:** 2026-06-17T07:53:24.200Z

## Who should check

- Anyone running Linux \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 051c0a558154174cfcea301a386e4c91ade83ce1; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 027ac3c5092561bccce09b314a73a1c167117ef6; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 5a44bb061d04b0306f2aa8add761d86d152b9377
- Anyone running Linux 6.2

## Description

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

KVM: s390: fix validity interception issue when gisa is switched off

We might run into a SIE validity if gisa has been disabled either via using
kernel parameter "kvm.use\_gisa=0" or by setting the related sysfs
attribute to N (echo N \>/sys/module/kvm/parameters/use\_gisa).

The validity is caused by an invalid value in the SIE control block's
gisa designation. That happens because we pass the uninitialized gisa
origin to virt\_to\_phys() before writing it to the gisa designation.

To fix this we return 0 in kvm\_s390\_get\_gisa\_desc() if the origin is 0.
kvm\_s390\_get\_gisa\_desc() is used to determine which gisa designation to
set in the SIE control block. A value of 0 in the gisa designation disables
gisa usage.

The issue surfaces in the host kernel with the following kernel message as
soon a new kvm guest start is attemted.

kvm: unhandled validity intercept 0x1011
WARNING: CPU: 0 PID: 781237 at arch/s390/kvm/intercept.c:101 kvm\_handle\_sie\_intercept+0x42e/0x4d0 \[kvm\]
Modules linked in: vhost\_net tap tun xt\_CHECKSUM xt\_MASQUERADE xt\_conntrack ipt\_REJECT xt\_tcpudp nft\_compat x\_tables nf\_nat\_tftp nf\_conntrack\_tftp vfio\_pci\_core irqbypass vhost\_vsock vmw\_vsock\_virtio\_transport\_common vsock vhost vhost\_iotlb kvm nft\_fib\_inet nft\_fib\_ipv4 nft\_fib\_ipv6 nft\_fib nft\_reject\_inet nf\_reject\_ipv4 nf\_reject\_ipv6 nft\_reject nft\_ct nft\_chain\_nat nf\_nat nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 ip\_set nf\_tables sunrpc mlx5\_ib ib\_uverbs ib\_core mlx5\_core uvdevice s390\_trng eadm\_sch vfio\_ccw zcrypt\_cex4 mdev vfio\_iommu\_type1 vfio sch\_fq\_codel drm i2c\_core loop drm\_panel\_orientation\_quirks configfs nfnetlink lcs ctcm fsm dm\_service\_time ghash\_s390 prng chacha\_s390 libchacha aes\_s390 des\_s390 libdes sha3\_512\_s390 sha3\_256\_s390 sha512\_s390 sha256\_s390 sha1\_s390 sha\_common dm\_mirror dm\_region\_hash dm\_log zfcp scsi\_transport\_fc scsi\_dh\_rdac scsi\_dh\_emc scsi\_dh\_alua pkey zcrypt dm\_multipath rng\_core autofs4 \[last unloaded: vfio\_pci\]
CPU: 0 PID: 781237 Comm: CPU 0/KVM Not tainted 6.10.0-08682-gcad9f11498ea \#6
Hardware name: IBM 3931 A01 701 (LPAR)
Krnl PSW : 0704c00180000000 000003d93deb0122 (kvm\_handle\_sie\_intercept+0x432/0x4d0 \[kvm\])
           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 RI:0 EA:3
Krnl GPRS: 000003d900000027 000003d900000023 0000000000000028 000002cd00000000
           000002d063a00900 00000359c6daf708 00000000000bebb5 0000000000001eff
           000002cfd82e9000 000002cfd80bc000 0000000000001011 000003d93deda412
           000003ff8962df98 000003d93de77ce0 000003d93deb011e 00000359c6daf960
Krnl Code: 000003d93deb0112: c020fffe7259	larl	%r2,000003d93de7e5c4
           000003d93deb0118: c0e53fa8beac	brasl	%r14,000003d9bd3c7e70
          \#000003d93deb011e: af000000		mc	0,0
          \>000003d93deb0122: a728ffea		lhi	%r2,-22
           000003d93deb0126: a7f4fe24		brc	15,000003d93deafd6e
           000003d93deb012a: 9101f0b0		tm	176(%r15),1
           000003d93deb012e: a774fe48		brc	7,000003d93deafdbe
           000003d93deb0132: 40a0f0ae		sth	%r10,174(%r15)
Call Trace:
 \[\<000003d93deb0122\>\] kvm\_handle\_sie\_intercept+0x432/0x4d0 \[kvm\]
(\[\<000003d93deb011e\>\] kvm\_handle\_sie\_intercept+0x42e/0x4d0 \[kvm\])
 \[\<000003d93deacc10\>\] vcpu\_post\_run+0x1d0/0x3b0 \[kvm\]
 \[\<000003d93deaceda\>\] \_\_vcpu\_run+0xea/0x2d0 \[kvm\]
 \[\<000003d93dead9da\>\] kvm\_arch\_vcpu\_ioctl\_run+0x16a/0x430 \[kvm\]
 \[\<000003d93de93ee0\>\] kvm\_vcpu\_ioctl+0x190/0x7c0 \[kvm\]
 \[\<000003d9bd728b4e\>\] vfs\_ioctl+0x2e/0x70
 \[\<000003d9bd72a092\>\] \_\_s390x\_sys\_ioctl+0xc2/0xd0
 \[\<000003d9be0e9222\>\] \_\_do\_syscall+0x1f2/0x2e0
 \[\<000003d9be0f9a90\>\] system\_call+0x70/0x98
Last Breaking-Event-Address:
 \[\<000003d9bd3c7f58\>\] \_\_warn\_printk+0xe8/0xf0

## Affected and fixed versions

- Linux: \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 051c0a558154174cfcea301a386e4c91ade83ce1; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 027ac3c5092561bccce09b314a73a1c167117ef6; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 5a44bb061d04b0306f2aa8add761d86d152b9377 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 5a44bb061d04b0306f2aa8add761d86d152b9377 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-45005. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45005.md
Affected: Linux >= fe0ef00304639cae82df7c9ad6a15286bd5f876e, < 051c0a558154174cfcea301a386e4c91ade83ce1; >= fe0ef00304639cae82df7c9ad6a15286bd5f876e, < 027ac3c5092561bccce09b314a73a1c167117ef6; >= fe0ef00304639cae82df7c9ad6a15286bd5f876e, < 5a44bb061d04b0306f2aa8add761d86d152b9377; Linux 6.2
Fixed in: Linux 051c0a558154174cfcea301a386e4c91ade83ce1, Linux 027ac3c5092561bccce09b314a73a1c167117ef6, Linux 5a44bb061d04b0306f2aa8add761d86d152b9377

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-45005 being exploited?

There is no confirmed exploitation: CVE-2024-45005 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-45005?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-45005?

Linux \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 051c0a558154174cfcea301a386e4c91ade83ce1; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 027ac3c5092561bccce09b314a73a1c167117ef6; \>= fe0ef00304639cae82df7c9ad6a15286bd5f876e, \< 5a44bb061d04b0306f2aa8add761d86d152b9377; Linux 6.2.

### Is there a fix for CVE-2024-45005?

Yes. Fixed in Linux 051c0a558154174cfcea301a386e4c91ade83ce1, Linux 027ac3c5092561bccce09b314a73a1c167117ef6, Linux 5a44bb061d04b0306f2aa8add761d86d152b9377. Upgrade Linux to 5a44bb061d04b0306f2aa8add761d86d152b9377 or later.

### How do I check if I'm affected by CVE-2024-45005?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/051c0a558154174cfcea301a386e4c91ade83ce1>
- patch: <https://git.kernel.org/stable/c/027ac3c5092561bccce09b314a73a1c167117ef6>
- patch: <https://git.kernel.org/stable/c/5a44bb061d04b0306f2aa8add761d86d152b9377>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45005>

HTML: <https://flawdb.com/CVE-2024-45005> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45005>
