In the Linux kernel, the following vulnerability has been resolved:
pstore/ram: Fix crash when setting number of cpus to an odd number
When the number of cpu cores is adjusted to 7 or other odd numbers, the zone size will become an odd number. The address of the zone will become: addr of zone0 = BASE addr of zone1 = BASE + zonesize addr of zone2 = BASE + zonesize*2 ... The address of zone1/3/5/7 will be mapped to non-alignment va. Eventually crashes will occur when accessing these va.
So, use ALIGN_DOWN() to make sure the zone size is even to avoid this bug.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a37905d47bffec61e95d99f0c1cc5dc6377956c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-1042ea0e",
"digest": {
"length": 1886.0,
"function_hash": "254956167528042418295238199680921908315"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a63e48cd835c34c38ef671d344cc029b1ea5bf10",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-16f7da1b",
"digest": {
"length": 1886.0,
"function_hash": "254956167528042418295238199680921908315"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d49270a04623ce3c0afddbf3e984cb245aa48e9c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-1a70a795",
"digest": {
"length": 1901.0,
"function_hash": "53749700320310238254543956797290170496"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75b0f71b26b3ad833c5c0670109c0af6e021e86a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-25108301",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0593cfd321df9001142a9d2c58d4144917dff7ee",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-27ce7eaf",
"digest": {
"length": 1901.0,
"function_hash": "53749700320310238254543956797290170496"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a63e48cd835c34c38ef671d344cc029b1ea5bf10",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-3bd66a38",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e9f6ac50890104fdf8194f2865680689239d30fb",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-50eb0bb3",
"digest": {
"length": 1886.0,
"function_hash": "254956167528042418295238199680921908315"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b69c30f4e8b69131d92096cb296dc1f217101e4",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-66881269",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd40e43f870cf21726b22487a95ed223790b3542",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-73d82462",
"digest": {
"length": 1901.0,
"function_hash": "53749700320310238254543956797290170496"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd40e43f870cf21726b22487a95ed223790b3542",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-9e6b5987",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a37905d47bffec61e95d99f0c1cc5dc6377956c",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-a3b3e8c7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75b0f71b26b3ad833c5c0670109c0af6e021e86a",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-a4b121e2",
"digest": {
"length": 1886.0,
"function_hash": "254956167528042418295238199680921908315"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d49270a04623ce3c0afddbf3e984cb245aa48e9c",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-a5a7d3ba",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e9f6ac50890104fdf8194f2865680689239d30fb",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-dc1734d9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0593cfd321df9001142a9d2c58d4144917dff7ee",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-eba95219",
"digest": {
"threshold": 0.9,
"line_hashes": [
"221578859815388694450140829460205280834",
"335364977768308462993295935270547194670",
"13606260008397328339192889414626185908",
"78830486915052843515985955692247350574"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8b69c30f4e8b69131d92096cb296dc1f217101e4",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ramoops_init_przs",
"file": "fs/pstore/ram.c"
},
"id": "CVE-2023-52619-f24f8d26",
"digest": {
"length": 1642.0,
"function_hash": "14881464453785042046087208568636468238"
},
"signature_type": "Function"
}
]