cveboard RSS feed

CVE-2023-53440

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2023
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

nilfs2: fix sysfs interface lifetime

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix sysfs interface lifetime The current nilfs2 sysfs support has issues with the timing of creation and deletion of sysfs entries, potentially leading to null pointer dereferences, use-after-free, and lockdep warnings. Some of the sysfs attributes for nilfs2 per-filesystem instance refer to metadata file "cpfile", "sufile", or "dat", but nilfs_sysfs_create_device_group that creates those attributes is executed before the inodes for these metadata files are loaded, and nilfs_sysfs_delete_device_group which deletes these sysfs entries is called after releasing their metadata file inodes. Therefore, access to some of these sysfs attributes may occur outside of the lifetime of these metadata files, resulting in inode NULL pointer dereferences or use-after-free. In addition, the call to nilfs_sysfs_create_device_group() is made during the locking period of the semaphore "ns_sem" of nilfs object, so the shrinker call caused by the memory allocation for the sysfs entries, may derive lock dependencies "ns_sem" -> (shrinker) -> "locks acquired in nilfs_evict_inode()". Since nilfs2 may acquire "ns_sem" deep in the call stack holding other locks via its error handler __nilfs_error(), this causes lockdep to report circular locking. This is a false positive and no circular locking actually occurs as no inodes exist yet when nilfs_sysfs_create_device_group() is called. Fortunately, the lockdep warnings can be resolved by simply moving the call to nilfs_sysfs_create_device_group() out of "ns_sem". This fixes these sysfs issues by revising where the device's sysfs interface is created/deleted and keeping its lifetime within the lifetime of the metadata files above.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgitd20dcec8f326deb77b6688f8441e014045dac457UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgit5fe0ea141fbb887d407f1bf572ebf24427480d5cUnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgit83b16a60e413148685739635901937e2f16a7873UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgit3dbee84bf9e3273c4bb9ca6fc18ff22fba23dd24UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgitd540aea451ab5489777a8156560f1388449b3109UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgit1942ccb7d95f287a312fcbabfa8bc9ba501b1953UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgitdaf4eb3a908b108279b60172d2f176e70d2df875UnavailableNone listed
dd70edbde2627f47df118d899de6bbb55abcfdbfaffectedgit42560f9c92cc43dce75dbf06cc0d840dced39b12UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
3.17affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver3.17UnavailableNone listed
4.14.313unaffectedsemverUnavailable4.14.*None listed
4.19.281unaffectedsemverUnavailable4.19.*None listed
5.4.241unaffectedsemverUnavailable5.4.*None listed
5.10.178unaffectedsemverUnavailable5.10.*None listed
5.15.107unaffectedsemverUnavailable5.15.*None listed
6.1.24unaffectedsemverUnavailable6.1.*None listed
6.2.11unaffectedsemverUnavailable6.2.*None listed
6.3unaffectedoriginal_commit_for_fixUnavailable*None listed