CVE-2022-49281

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49281
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49281.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49281
Downstream
Related
Published
2025-02-26T01:56:23.201Z
Modified
2025-12-23T20:33:49.055921Z
Summary
cifs: fix handlecache and multiuser
Details

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

cifs: fix handlecache and multiuser

In multiuser each individual user has their own tcon structure for the share and thus their own handle for a cached directory. When we umount such a share we much make sure to release the pinned down dentry for each such tcon and not just the master tcon.

Otherwise we will get nasty warnings on umount that dentries are still in use: [ 3459.590047] BUG: Dentry 00000000115c6f41{i=12000000019d95,n=/} still in use\ (2) [unmount of cifs cifs] ... [ 3459.590492] Call Trace: [ 3459.590500] dwalk+0x61/0x2a0 [ 3459.590518] ? shrinklockdentry.part.0+0xe0/0xe0 [ 3459.590526] shrinkdcacheforumount+0x49/0x110 [ 3459.590535] genericshutdownsuper+0x1a/0x110 [ 3459.590542] killanonsuper+0x14/0x30 [ 3459.590549] cifskillsb+0xf5/0x104 [cifs] [ 3459.590773] deactivatelockedsuper+0x36/0xa0 [ 3459.590782] cleanupmnt+0x131/0x190 [ 3459.590789] taskworkrun+0x5c/0x90 [ 3459.590798] exittousermodeloop+0x151/0x160 [ 3459.590809] exittousermodeprepare+0x83/0xd0 [ 3459.590818] syscallexittousermode+0x12/0x30 [ 3459.590828] dosyscall64+0x48/0x90 [ 3459.590833] entrySYSCALL64after_hwframe+0x44/0xae

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49281.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5e9c89d43fa6f5d458d4d0f9e22a67cc001c8da9
Fixed
2fafbc198613823943c106d1ec9b516da692059f
Fixed
ffa631c4bff59dde59b598011f570e27dfba3515
Fixed
e71f6a3a1d5c826a30384fec587ca7503ef6bde5
Fixed
47178c7722ac528ea08aa82c3ef9ffa178962d7a

Affected versions

v5.*

v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.15.1
v5.15.10
v5.15.11
v5.15.12
v5.15.13
v5.15.14
v5.15.15
v5.15.16
v5.15.17
v5.15.18
v5.15.19
v5.15.2
v5.15.20
v5.15.21
v5.15.22
v5.15.23
v5.15.24
v5.15.25
v5.15.26
v5.15.27
v5.15.28
v5.15.29
v5.15.3
v5.15.30
v5.15.31
v5.15.32
v5.15.4
v5.15.5
v5.15.6
v5.15.7
v5.15.8
v5.15.9
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.16.1
v5.16.10
v5.16.11
v5.16.12
v5.16.13
v5.16.14
v5.16.15
v5.16.16
v5.16.17
v5.16.18
v5.16.2
v5.16.3
v5.16.4
v5.16.5
v5.16.6
v5.16.7
v5.16.8
v5.16.9
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.17.1

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49281.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
5.15.33
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.16.19
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
5.17.2

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49281.json"