CVE-2026-46285

HighCVSS 7.8/10Last modified Jul 23, 2026

Description

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

mtd: docg3: fix use-after-free in docg3_release()

In docg3_release(), the docg3 pointer is obtained from cascade->floors[0]->priv before the loop that calls doc_release_device() on each floor. doc_release_device() frees the docg3 struct via kfree(docg3) at line 1881. After the loop, docg3->cascade->bch dereferences the already-freed pointer.

Fix this by accessing cascade->bch directly, which is equivalent since docg3->cascade points back to the same cascade struct, and is already available as a local variable. This also removes the now-unused docg3 local variable.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < 8408655ec8344511667b61d8257dc59c80ee3391; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < f5d2ed4ed47d3906e2495a3537a48b127f497a17; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < 2bf706fe7831b319f23a85b9728f961cfed40c3e; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < d26f8c361f751c188b7ebaf8189aa0258968fd98; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < 16f6588a3b7a2a20d10ad9b766be74c60ba347cc; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < d89044889ecd11b0c2f86663597246e9bdd25679; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < d49628d63d4e6bbc8a1621afb88e5fc901611bee; >= c8ae3f744ddca0da164bcacee42d1d4b6fe7027d, < ca19808bc6fac7e29420d8508df569b346b3e339
LinuxLinux5.8

References

Timeline

Published
Jun 8, 2026
Last modified
Jul 23, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-462865.5In the Linux kernel, the following vulnerability has been resolved: leds: qcom-lpg: Check for array overflow when selecting the high resoluCVE-2026-462875.5In the Linux kernel, the following vulnerability has been resolved: net: txgbe: fix RTNL assertion warning when remove module For the coppCVE-2026-462888.4In the Linux kernel, the following vulnerability has been resolved: of: unittest: fix use-after-free in of_unittest_changeset() The variabCVE-2026-462899.8In the Linux kernel, the following vulnerability has been resolved: lib/scatterlist: fix length calculations in extract_kvec_to_sg Patch sCVE-2026-46296.5A flaw was found in Keycloak. A highly privileged user with `manage-clients` permission can exploit this vulnerability by injecting a hardcoCVE-2026-462905.5In the Linux kernel, the following vulnerability has been resolved: x86/efi: Fix graceful fault handling after FPU softirq changes Since cCVE-2026-462915.5In the Linux kernel, the following vulnerability has been resolved: crypto: caam - guard HMAC key hex dumps in hash_digest_key Use print_hCVE-2026-462925.5In the Linux kernel, the following vulnerability has been resolved: pmdomain: core: Fix detach procedure for virtual devices in genpd If aCVE-2026-462937.1In the Linux kernel, the following vulnerability has been resolved: clk: microchip: mpfs-ccc: fix out of bounds access during output registCVE-2026-462947.8In the Linux kernel, the following vulnerability has been resolved: dm: fix a buffer overflow in ioctl processing Tony Asleson (using ClauCVE-2026-462955.5In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Do IRR scan in __kvm_apic_update_irr even if PIR is empty FaCVE-2026-462965.5In the Linux kernel, the following vulnerability has been resolved: spi: s3c64xx: fix NULL-deref on driver unbind A change moving DMA chan
CVE-2026-46285: High severity, CVSS 7.8 | Vulnix