{"api_version":"1","generated_at":"2026-10-26T07:53:51+00:00","cve":"CVE-2026-89955","urls":{"html":"https://cve.report/CVE-2026-89955","api":"https://cve.report/api/cve/CVE-2026-89955.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89955","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89955"},"summary":{"title":"s390/vfio-ap: Fix NULL deref in status_show() during queue probe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: Fix NULL deref in status_show() during queue probe\n\nWhen vfio_ap_mdev_probe_queue() creates the sysfs attribute group,\nthe queue's driver data has not yet been set. A concurrent read of\nthe 'status' attribute can therefore call dev_get_drvdata() and\nget NULL, which is then passed directly to\nvfio_ap_mdev_for_queue() where q->apqn is unconditionally\ndereferenced, causing a NULL pointer dereference.\n\nFix this by acquiring the update locks before calling\nsysfs_create_group(). The status_show() function acquires\nguests_lock before reading the driver data, so any concurrent\nread will block until after dev_set_drvdata() has been called\nand the update locks are released.\n\nAs a bonus, the APQN no longer needs to be read from the queue\nstruct after allocation — it can be read directly from apdev\nbefore allocation and stored in a local variable, which is then\nassigned to q->apqn once the allocation succeeds.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-16 11:17:05","updated_at":"2026-10-19 09:18:41"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/69632952aca04caa71e49953b6949fc04e788e67","name":"https://git.kernel.org/stable/c/69632952aca04caa71e49953b6949fc04e788e67","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7db2511fc601ca3a6e3fb1bdce02261c3c3167c3","name":"https://git.kernel.org/stable/c/7db2511fc601ca3a6e3fb1bdce02261c3c3167c3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/31fa0a8a3c337ed2d200166d6926ab23c14f8b2e","name":"https://git.kernel.org/stable/c/31fa0a8a3c337ed2d200166d6926ab23c14f8b2e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9","name":"https://git.kernel.org/stable/c/e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dd6f4ef6f8a37412909ad787c837332fb070159c","name":"https://git.kernel.org/stable/c/dd6f4ef6f8a37412909ad787c837332fb070159c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89955","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89955","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 260f3ea141382386e97611e7c2029bc013088ab1 31fa0a8a3c337ed2d200166d6926ab23c14f8b2e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 260f3ea141382386e97611e7c2029bc013088ab1 e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 260f3ea141382386e97611e7c2029bc013088ab1 69632952aca04caa71e49953b6949fc04e788e67 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 260f3ea141382386e97611e7c2029bc013088ab1 7db2511fc601ca3a6e3fb1bdce02261c3c3167c3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 260f3ea141382386e97611e7c2029bc013088ab1 dd6f4ef6f8a37412909ad787c837332fb070159c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.51 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.5 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * 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":["drivers/s390/crypto/vfio_ap_ops.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"31fa0a8a3c337ed2d200166d6926ab23c14f8b2e","status":"affected","version":"260f3ea141382386e97611e7c2029bc013088ab1","versionType":"git"},{"lessThan":"e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9","status":"affected","version":"260f3ea141382386e97611e7c2029bc013088ab1","versionType":"git"},{"lessThan":"69632952aca04caa71e49953b6949fc04e788e67","status":"affected","version":"260f3ea141382386e97611e7c2029bc013088ab1","versionType":"git"},{"lessThan":"7db2511fc601ca3a6e3fb1bdce02261c3c3167c3","status":"affected","version":"260f3ea141382386e97611e7c2029bc013088ab1","versionType":"git"},{"lessThan":"dd6f4ef6f8a37412909ad787c837332fb070159c","status":"affected","version":"260f3ea141382386e97611e7c2029bc013088ab1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/s390/crypto/vfio_ap_ops.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.51","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.51","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.5","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: Fix NULL deref in status_show() during queue probe\n\nWhen vfio_ap_mdev_probe_queue() creates the sysfs attribute group,\nthe queue's driver data has not yet been set. A concurrent read of\nthe 'status' attribute can therefore call dev_get_drvdata() and\nget NULL, which is then passed directly to\nvfio_ap_mdev_for_queue() where q->apqn is unconditionally\ndereferenced, causing a NULL pointer dereference.\n\nFix this by acquiring the update locks before calling\nsysfs_create_group(). The status_show() function acquires\nguests_lock before reading the driver data, so any concurrent\nread will block until after dev_set_drvdata() has been called\nand the update locks are released.\n\nAs a bonus, the APQN no longer needs to be read from the queue\nstruct after allocation — it can be read directly from apdev\nbefore allocation and stored in a local variable, which is then\nassigned to q->apqn once the allocation succeeds."}],"providerMetadata":{"dateUpdated":"2026-10-19T08:55:29.208Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/31fa0a8a3c337ed2d200166d6926ab23c14f8b2e"},{"url":"https://git.kernel.org/stable/c/e102ce0f4af99dff769a4b1b4daa4cc6bd5ad2d9"},{"url":"https://git.kernel.org/stable/c/69632952aca04caa71e49953b6949fc04e788e67"},{"url":"https://git.kernel.org/stable/c/7db2511fc601ca3a6e3fb1bdce02261c3c3167c3"},{"url":"https://git.kernel.org/stable/c/dd6f4ef6f8a37412909ad787c837332fb070159c"}],"title":"s390/vfio-ap: Fix NULL deref in status_show() during queue probe","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89955","datePublished":"2026-09-16T10:32:39.064Z","dateReserved":"2026-09-11T19:38:34.777Z","dateUpdated":"2026-10-19T08:55:29.208Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-16 11:17:05","lastModifiedDate":"2026-10-19 09:18:41","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89955","Ordinal":"1","Title":"s390/vfio-ap: Fix NULL deref in status_show() during queue probe","CVE":"CVE-2026-89955","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89955","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: Fix NULL deref in status_show() during queue probe\n\nWhen vfio_ap_mdev_probe_queue() creates the sysfs attribute group,\nthe queue's driver data has not yet been set. A concurrent read of\nthe 'status' attribute can therefore call dev_get_drvdata() and\nget NULL, which is then passed directly to\nvfio_ap_mdev_for_queue() where q->apqn is unconditionally\ndereferenced, causing a NULL pointer dereference.\n\nFix this by acquiring the update locks before calling\nsysfs_create_group(). The status_show() function acquires\nguests_lock before reading the driver data, so any concurrent\nread will block until after dev_set_drvdata() has been called\nand the update locks are released.\n\nAs a bonus, the APQN no longer needs to be read from the queue\nstruct after allocation — it can be read directly from apdev\nbefore allocation and stored in a local variable, which is then\nassigned to q->apqn once the allocation succeeds.","Type":"Description","Title":"s390/vfio-ap: Fix NULL deref in status_show() during queue probe"}]}}}