{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/debian10els/vex/2023/cve-2023-52489-els_os-debian10els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-08-25T12:54:37Z",
      "generator": {
        "date": "2026-08-25T12:54:37Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2023-52489-ELS_OS-DEBIAN10ELS",
      "initial_release_date": "2023-01-01T00:00:00Z",
      "revision_history": [
        {
          "date": "2023-01-01T00:00:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-25T12:54:37Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2023-52489"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 10",
                "product": {
                  "name": "Debian 10",
                  "product_id": "Debian-10",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-all-amd64@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-libc-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libcpupower1@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libcpupower-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libbpf-dev@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-perf-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-config-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-kbuild-4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/libbpf4.19@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-compiler-gcc-8-x86@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-all@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-image-amd64-signed-template@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-cpupower@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-amd64@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/hyperv-daemons@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                "product": {
                  "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_id": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-image-4.19.0-28-amd64-unsigned@4.19.325-1%2Btuxcare.els1?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-doc-4.19@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-support-4.19.0-28@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-source-4.19@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                "product": {
                  "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                  "product_id": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/linux-headers-4.19.0-28-common@4.19.325-1%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all"
        },
        "product_reference": "linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64 as a component of Debian 10",
          "product_id": "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64"
        },
        "product_reference": "linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
        "relates_to_product_reference": "Debian-10"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-52489",
      "cwe": {
        "id": "CWE-362",
        "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/sparsemem: fix race in accessing memory_section->usage\n\nThe below race is observed on a PFN which falls into the device memory\nregion with the system memory configuration where PFN's are such that\n[ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL].  Since normal zone start and end\npfn contains the device memory PFN's as well, the compaction triggered\nwill try on the device memory PFN's too though they end up in NOP(because\npfn_to_online_page() returns NULL for ZONE_DEVICE memory sections).  When\nfrom other core, the section mappings are being removed for the\nZONE_DEVICE region, that the PFN in question belongs to, on which\ncompaction is currently being operated is resulting into the kernel crash\nwith CONFIG_SPASEMEM_VMEMAP enabled.  The crash logs can be seen at [1].\n\ncompact_zone()\t\t\tmemunmap_pages\n-------------\t\t\t---------------\n__pageblock_pfn_to_page\n   ......\n (a)pfn_valid():\n     valid_section()//return true\n\t\t\t      (b)__remove_pages()->\n\t\t\t\t  sparse_remove_section()->\n\t\t\t\t    section_deactivate():\n\t\t\t\t    [Free the array ms->usage and set\n\t\t\t\t     ms->usage = NULL]\n     pfn_section_valid()\n     [Access ms->usage which\n     is NULL]\n\nNOTE: From the above it can be said that the race is reduced to between\nthe pfn_valid()/pfn_section_valid() and the section deactivate with\nSPASEMEM_VMEMAP enabled.\n\nThe commit b943f045a9af(\"mm/sparse: fix kernel crash with\npfn_section_valid check\") tried to address the same problem by clearing\nthe SECTION_HAS_MEM_MAP with the expectation of valid_section() returns\nfalse thus ms->usage is not accessed.\n\nFix this issue by the below steps:\n\na) Clear SECTION_HAS_MEM_MAP before freeing the ->usage.\n\nb) RCU protected read side critical section will either return NULL\n   when SECTION_HAS_MEM_MAP is cleared or can successfully access ->usage.\n\nc) Free the ->usage with kfree_rcu() and set ms->usage = NULL.  No\n   attempt will be made to access ->usage after this as the\n   SECTION_HAS_MEM_MAP is cleared thus valid_section() return false.\n\nThanks to David/Pavan for their inputs on this patch.\n\n[1] https://lore.kernel.org/linux-mm/994410bb-89aa-d987-1f50-f514903c55aa@quicinc.com/\n\nOn Snapdragon SoC, with the mentioned memory configuration of PFN's as\n[ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL], we are able to see bunch of\nissues daily while testing on a device farm.\n\nFor this particular issue below is the log.  Though the below log is\nnot directly pointing to the pfn_section_valid(){ ms->usage;}, when we\nloaded this dump on T32 lauterbach tool, it is pointing.\n\n[  540.578056] Unable to handle kernel NULL pointer dereference at\nvirtual address 0000000000000000\n[  540.578068] Mem abort info:\n[  540.578070]   ESR = 0x0000000096000005\n[  540.578073]   EC = 0x25: DABT (current EL), IL = 32 bits\n[  540.578077]   SET = 0, FnV = 0\n[  540.578080]   EA = 0, S1PTW = 0\n[  540.578082]   FSC = 0x05: level 1 translation fault\n[  540.578085] Data abort info:\n[  540.578086]   ISV = 0, ISS = 0x00000005\n[  540.578088]   CM = 0, WnR = 0\n[  540.579431] pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBSBTYPE=--)\n[  540.579436] pc : __pageblock_pfn_to_page+0x6c/0x14c\n[  540.579454] lr : compact_zone+0x994/0x1058\n[  540.579460] sp : ffffffc03579b510\n[  540.579463] x29: ffffffc03579b510 x28: 0000000000235800 x27:000000000000000c\n[  540.579470] x26: 0000000000235c00 x25: 0000000000000068 x24:ffffffc03579b640\n[  540.579477] x23: 0000000000000001 x22: ffffffc03579b660 x21:0000000000000000\n[  540.579483] x20: 0000000000235bff x19: ffffffdebf7e3940 x18:ffffffdebf66d140\n[  540.579489] x17: 00000000739ba063 x16: 00000000739ba063 x15:00000000009f4bff\n[  540.579495] x14: 0000008000000000 x13: 0000000000000000 x12:0000000000000001\n[  540.579501] x11: 0000000000000000 x10: 0000000000000000 x9 :ffffff897d2cd440\n[  540.579507] x8 : 0000000000000000 x7 : 0000000000000000 x6 :ffffffc03579b5b4\n[  540.579512] x5 : 0000000000027f25 x4 : ffffffc03579b5b8 x3 :0000000000000\n---truncated---",
          "title": "Vulnerability description"
        },
        {
          "category": "other",
          "text": "TuxCare has assessed that this vulnerability does not impact any currently supported TuxCare products. This evaluation may change as new information becomes available. For additional details regarding this vulnerability and affected products, refer to the provided references.",
          "title": "Statement"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
          "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
          "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2023-52489"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/3a01daace71b521563c38bbbf874e14c3e58adb7",
          "url": "https://git.kernel.org/stable/c/3a01daace71b521563c38bbbf874e14c3e58adb7"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/5ec8e8ea8b7783fab150cf86404fc38cb4db8800",
          "url": "https://git.kernel.org/stable/c/5ec8e8ea8b7783fab150cf86404fc38cb4db8800"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/68ed9e33324021e9d6b798e9db00ca3093d2012a",
          "url": "https://git.kernel.org/stable/c/68ed9e33324021e9d6b798e9db00ca3093d2012a"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/70064241f2229f7ba7b9599a98f68d9142e81a97",
          "url": "https://git.kernel.org/stable/c/70064241f2229f7ba7b9599a98f68d9142e81a97"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/90ad17575d26874287271127d43ef3c2af876cea",
          "url": "https://git.kernel.org/stable/c/90ad17575d26874287271127d43ef3c2af876cea"
        },
        {
          "category": "external",
          "summary": "https://git.kernel.org/stable/c/b448de2459b6d62a53892487ab18b7d823ff0529",
          "url": "https://git.kernel.org/stable/c/b448de2459b6d62a53892487ab18b7d823ff0529"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
        }
      ],
      "release_date": "2024-03-11T18:15:00Z",
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        },
        {
          "category": "impact",
          "date": "2026-08-02T13:11:39.850205Z",
          "details": "Not affected (not-introduced).",
          "product_ids": [
            "Debian-10:hyperv-daemons-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libbpf-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libbpf4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libcpupower-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:libcpupower1-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-compiler-gcc-8-x86-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-config-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-cpupower-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-doc-4.19-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-headers-4.19.0-28-all-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-all-amd64-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-amd64-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-headers-4.19.0-28-common-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-image-4.19.0-28-amd64-unsigned-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-image-amd64-signed-template-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-kbuild-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-libc-dev-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-perf-4.19-0:4.19.325-1+tuxcare.els1.amd64",
            "Debian-10:linux-source-4.19-0:4.19.325-1+tuxcare.els1.all",
            "Debian-10:linux-support-4.19.0-28-0:4.19.325-1+tuxcare.els1.all"
          ]
        }
      ]
    }
  ]
}