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.
[
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"target": {
"file": "mm/shmem.c"
},
"digest": {
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-0128067a"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"signature_type": "Function",
"id": "CVE-2023-53391-101c3c5e"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"target": {
"file": "mm/shmem.c"
},
"digest": {
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-162d5d78"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"target": {
"file": "mm/shmem.c"
},
"digest": {
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"124672605629684042251569787630978001122"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-3cdc6f39"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"signature_type": "Function",
"id": "CVE-2023-53391-5ae449a0"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"target": {
"file": "mm/shmem.c"
},
"digest": {
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"124672605629684042251569787630978001122"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-76b257b7"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"target": {
"file": "fs/ramfs/inode.c"
},
"digest": {
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-79f851d0"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"target": {
"file": "fs/ramfs/inode.c"
},
"digest": {
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-811d878e"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"target": {
"file": "include/linux/ramfs.h"
},
"digest": {
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-87238e4d"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36ce9d76b0a93bae799e27e4f5ac35478c676592",
"target": {
"file": "include/linux/ramfs.h"
},
"digest": {
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-99ad1f8b"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"target": {
"file": "include/linux/ramfs.h"
},
"digest": {
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-9cf732dd"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"target": {
"file": "include/linux/ramfs.h"
},
"digest": {
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-9eacff49"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"signature_type": "Function",
"id": "CVE-2023-53391-a53ddbfc"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"target": {
"file": "include/linux/ramfs.h"
},
"digest": {
"line_hashes": [
"301324285004588264783584807490402673202",
"232341606839545170995789933311305286367",
"130832740088900820626796682651837901792",
"151416743006345369952166870723801303856"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-c006dca2"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f34bf8b442c6d720e7fa6f15e8702427e48aea9",
"target": {
"file": "mm/shmem.c"
},
"digest": {
"line_hashes": [
"129195904653214097286814869162538659573",
"99245442037062165549624601774763377729",
"99444350891082003334847894503646029778",
"174564047797733608604563719589629264573"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-de07fcfa"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"target": {
"file": "fs/ramfs/inode.c"
},
"digest": {
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-e492c1b2"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5fada375113767b3b57f1b04f7a4fe64ffaa626f",
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"signature_type": "Function",
"id": "CVE-2023-53391-e9c6ecb2"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@487f229efea80c00dd7397547ec4f25fb8999d99",
"target": {
"file": "fs/ramfs/inode.c"
},
"digest": {
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-f051316b"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"target": {
"file": "fs/ramfs/inode.c"
},
"digest": {
"line_hashes": [
"290633082795425863924556533987127038887",
"142715397409431828320679061662738036706",
"3341222996639606024303503844081782187",
"319806679764964547582950468220809671053"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2023-53391-f07e88ad"
},
{
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe07db840992a3886694ac3d303b06f4b70ce00",
"target": {
"function": "ramfs_kill_sb",
"file": "fs/ramfs/inode.c"
},
"digest": {
"function_hash": "220846437528140086513616629534113240379",
"length": 98.0
},
"signature_type": "Function",
"id": "CVE-2023-53391-fcbe4ed3"
}
]