Vulnerabilities / CVE-2022-47939

critical

CVE-2022-47939

kernel: smb2_tree_disconnect() fails to validate object existance prior to performing opertions on it

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat, CBL-Mariner. Rated lower by Ubuntu (medium).

Description

An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2pdu.c has a use-after-free and OOPS for SMB2_TREE_DISCONNECT.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 2.0kernel0:5.15.86.1-1.cm2
debian 12linux5.19.6-1
debian 13linux5.19.6-1
debian 14linux5.19.6-1
echolinux5.19.6-1
root.io debian 12rootio-linux5.19.6-1
root.io debian 13rootio-linux5.19.6-1
root.io ubuntu 22.04rootio-linux5.15.0-53.59
ubuntu 20.04linux-aws-5.15, linux-azure-5.15, linux-azure-fde-5.15 and 8 more5.15.0-1023.27~20.04.1 and 8 more
ubuntu 20.04-ESMlinux-aws-5.15, linux-azure-5.15, linux-azure-fde-5.15 and 8 more5.15.0-1023.27~20.04.1 and 8 more
ubuntu 22.04linux, linux-aws, linux-azure and 12 more5.15.0-53.59 and 12 more
Show all 45 entries from 11 sources
SourcePackageFixed in
CBL-Mariner 2.0kernel0:5.15.86.1-1.cm2
debian 12linux5.19.6-1
debian 13linux5.19.6-1
debian 14linux5.19.6-1
echolinux5.19.6-1
root.io debian 12rootio-linux5.19.6-1
root.io debian 13rootio-linux5.19.6-1
root.io ubuntu 22.04rootio-linux5.15.0-53.59
ubuntu 20.04linux-aws-5.155.15.0-1023.27~20.04.1
ubuntu 20.04linux-azure-5.155.15.0-1023.29~20.04.1
ubuntu 20.04linux-azure-fde-5.155.15.0-1029.36~20.04.1.1
ubuntu 20.04linux-gcp-5.155.15.0-1022.29~20.04.1
ubuntu 20.04linux-gke-5.155.15.0-1020.25~20.04.1
ubuntu 20.04linux-gkeop-5.155.15.0-1008.12~20.04.1
ubuntu 20.04linux-hwe-5.155.15.0-53.59~20.04.1
ubuntu 20.04linux-intel-iotg-5.155.15.0-1018.23~20.04.1
ubuntu 20.04linux-lowlatency-hwe-5.155.15.0-53.59~20.04.1
ubuntu 20.04linux-oracle-5.155.15.0-1022.28~20.04.1
ubuntu 20.04linux-riscv-5.155.15.0-1023.27~20.04.1
ubuntu 20.04-ESMlinux-aws-5.155.15.0-1023.27~20.04.1
ubuntu 20.04-ESMlinux-azure-5.155.15.0-1023.29~20.04.1
ubuntu 20.04-ESMlinux-azure-fde-5.155.15.0-1029.36~20.04.1.1
ubuntu 20.04-ESMlinux-gcp-5.155.15.0-1022.29~20.04.1
ubuntu 20.04-ESMlinux-gke-5.155.15.0-1020.25~20.04.1
ubuntu 20.04-ESMlinux-gkeop-5.155.15.0-1008.12~20.04.1
ubuntu 20.04-ESMlinux-hwe-5.155.15.0-53.59~20.04.1
ubuntu 20.04-ESMlinux-intel-iotg-5.155.15.0-1018.23~20.04.1
ubuntu 20.04-ESMlinux-lowlatency-hwe-5.155.15.0-53.59~20.04.1
ubuntu 20.04-ESMlinux-oracle-5.155.15.0-1022.28~20.04.1
ubuntu 20.04-ESMlinux-riscv-5.155.15.0-1023.27~20.04.1
ubuntu 22.04linux5.15.0-53.59
ubuntu 22.04linux-aws5.15.0-1023.27
ubuntu 22.04linux-azure5.15.0-1023.29
ubuntu 22.04linux-azure-fde5.15.0-1024.30.1
ubuntu 22.04linux-gcp5.15.0-1022.29
ubuntu 22.04linux-gke5.15.0-1020.25
ubuntu 22.04linux-gkeop5.15.0-1008.12
ubuntu 22.04linux-ibm5.15.0-1018.21
ubuntu 22.04linux-intel-iotg5.15.0-1018.23
ubuntu 22.04linux-kvm5.15.0-1021.26
ubuntu 22.04linux-lowlatency5.15.0-53.59
ubuntu 22.04linux-nvidia5.15.0-1015.15
ubuntu 22.04linux-oracle5.15.0-1022.28
ubuntu 22.04linux-raspi5.15.0-1018.20
ubuntu 22.04linux-riscv5.15.0-1023.27

References

All 11 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.