{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: fix out-of-bounds memory accesses\n\nThere are two array out-of-bounds memory accesses, one in\ncipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk().  Both\nerrors are embarassingly simple, and the fixes are straightforward.\n\nAs a FYI for anyone backporting this patch to kernels prior to v4.8,\nyou'll want to apply the netlbl_bitmap_walk() patch to\ncipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before\nLinux v4.8."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/ipv4/cipso_ipv4.c",
                  "net/netlabel/netlabel_kapi.c"
               ],
               "versions": [
                  {
                     "version": "446fda4f2682",
                     "lessThan": "97bc3683c249",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "c61d01faa555",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "dc18101f95fa",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "1c973f9c7cc2",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "fcfe700acdc1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "e3713abc4248",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "fbf9578919d6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "446fda4f2682",
                     "lessThan": "5578de4834fe",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/ipv4/cipso_ipv4.c",
                  "net/netlabel/netlabel_kapi.c"
               ],
               "versions": [
                  {
                     "version": "2.6.19",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.19",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "3.16.66",
                     "lessThanOrEqual": "3.16.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "3.18.137",
                     "lessThanOrEqual": "3.18.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.4.177",
                     "lessThanOrEqual": "4.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.163",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.106",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.28",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.20.15",
                     "lessThanOrEqual": "4.20.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.0",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272"
            },
            {
               "url": "https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950"
            },
            {
               "url": "https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e"
            },
            {
               "url": "https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000"
            },
            {
               "url": "https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c"
            },
            {
               "url": "https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb"
            },
            {
               "url": "https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78"
            },
            {
               "url": "https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f"
            }
         ],
         "title": "netlabel: fix out-of-bounds memory accesses",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2019-25160",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
