5.5medium
ceph: fix inode reference leakage in ceph_get_snapdir()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.28% (higher than 14% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix inode reference leakage in ceph_get_snapdir() The ceph_get_inode() will search for or insert a new inode into the hash for the given vino, and return a reference to it. If new is non-NULL, its reference is consumed. We should release the reference when in error handing cases.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3e10a15ffc8d77f05e655d14fd48c0b790dede35 before 3ae7163598c611a8892698e0c056fe794e52b44b, from 3e10a15ffc8d77f05e655d14fd48c0b790dede35 before 9cd21981dedfb4fe9f344529e4be35727cb10940, from 3e10a15ffc8d77f05e655d14fd48c0b790dede35 before b2d9bb3f06abddefdfa740b0a604575b6797e1bf, from 3e10a15ffc8d77f05e655d14fd48c0b790dede35 before 322794d3355c33adcc4feace0045d85a8e4ed813, 5.13 Not affected: before 5.13, from 5.15.34 up to 5.15.*, from 5.16.20 up to 5.16.*, from 5.17.3 up to 5.17.*, from 5.18 up to * | CVE List |
| linux linux_kernel | from 2.6.35 before 5.15.34, from 5.16 before 5.16.20, from 5.17 before 5.17.3, 2.6.34 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ceph: fix inode reference leakage in ceph_get_snapdir() The ceph_get_inode() will search for or insert a new inode into the hash for the given vino, and return a reference to it. If new is non-NULL, its reference is consumed. We should release the reference when in error handing cases.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ceph: se corrige la fuga de referencia de inodo en ceph_get_snapdir(). ceph_get_inode() buscará o insertará un nuevo inodo en el hash para el vino dado y devolverá una referencia a él. Si new no es NULL, se consume su referencia. Deberíamos liberar la referencia en casos de manejo de errores.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49109 changed 2026-08-12 | CVE Terms of Use |
| NVD | CVE-2022-49109 changed 2026-08-13 | Public domain |