In the Linux kernel, the following vulnerability has been resolved:
shmem: use ramfskillsb() for kill_sb method of ramfs-based tmpfs
As the ramfs-based tmpfs uses ramfsinitfscontext() for the initfscontext method, which allocates fc->sfsinfo, use ramfskill_sb() to free it and avoid a memory leak.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"id": "CVE-2023-53391-0128067a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
]
},
"target": {
"file": "mm/shmem.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"id": "CVE-2023-53391-101c3c5e",
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"id": "CVE-2023-53391-162d5d78",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
]
},
"target": {
"file": "mm/shmem.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"id": "CVE-2023-53391-3cdc6f39",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"124672605629684042251569787630978001122"
]
},
"target": {
"file": "mm/shmem.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"id": "CVE-2023-53391-5ae449a0",
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"id": "CVE-2023-53391-76b257b7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"124672605629684042251569787630978001122"
]
},
"target": {
"file": "mm/shmem.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"id": "CVE-2023-53391-79f851d0",
"digest": {
"threshold": 0.9,
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
]
},
"target": {
"file": "fs/ramfs/inode.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"id": "CVE-2023-53391-811d878e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
]
},
"target": {
"file": "fs/ramfs/inode.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"id": "CVE-2023-53391-87238e4d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
]
},
"target": {
"file": "include/linux/ramfs.h"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"id": "CVE-2023-53391-99ad1f8b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
]
},
"target": {
"file": "include/linux/ramfs.h"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"id": "CVE-2023-53391-9cf732dd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
]
},
"target": {
"file": "include/linux/ramfs.h"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"id": "CVE-2023-53391-9eacff49",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
]
},
"target": {
"file": "include/linux/ramfs.h"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"id": "CVE-2023-53391-a53ddbfc",
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"id": "CVE-2023-53391-c006dca2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
]
},
"target": {
"file": "include/linux/ramfs.h"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"id": "CVE-2023-53391-de07fcfa",
"digest": {
"threshold": 0.9,
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
]
},
"target": {
"file": "mm/shmem.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"id": "CVE-2023-53391-e492c1b2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
]
},
"target": {
"file": "fs/ramfs/inode.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"id": "CVE-2023-53391-e9c6ecb2",
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"signature_type": "Function",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"id": "CVE-2023-53391-f051316b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
]
},
"target": {
"file": "fs/ramfs/inode.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"id": "CVE-2023-53391-f07e88ad",
"digest": {
"threshold": 0.9,
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
]
},
"target": {
"file": "fs/ramfs/inode.c"
},
"signature_type": "Line",
"signature_version": "v1"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"id": "CVE-2023-53391-fcbe4ed3",
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"signature_type": "Function",
"signature_version": "v1"
}
]