cve-2022-48986
Vulnerability from cvelistv5
Published
2024-10-21 20:06
Modified
2024-12-19 08:11
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix gup_pud_range() for dax For dax pud, pud_huge() returns true on x86. So the function works as long as hugetlb is configured. However, dax doesn't depend on hugetlb. Commit 414fd080d125 ("mm/gup: fix gup_pmd_range() for dax") fixed devmap-backed huge PMDs, but missed devmap-backed huge PUDs. Fix this as well. This fixes the below kernel panic: general protection fault, probably for non-canonical address 0x69e7c000cc478: 0000 [#1] SMP < snip > Call Trace: <TASK> get_user_pages_fast+0x1f/0x40 iov_iter_get_pages+0xc6/0x3b0 ? mempool_alloc+0x5d/0x170 bio_iov_iter_get_pages+0x82/0x4e0 ? bvec_alloc+0x91/0xc0 ? bio_alloc_bioset+0x19a/0x2a0 blkdev_direct_IO+0x282/0x480 ? __io_complete_rw_common+0xc0/0xc0 ? filemap_range_has_page+0x82/0xc0 generic_file_direct_write+0x9d/0x1a0 ? inode_update_time+0x24/0x30 __generic_file_write_iter+0xbd/0x1e0 blkdev_write_iter+0xb4/0x150 ? io_import_iovec+0x8d/0x340 io_write+0xf9/0x300 io_issue_sqe+0x3c3/0x1d30 ? sysvec_reschedule_ipi+0x6c/0x80 __io_queue_sqe+0x33/0x240 ? fget+0x76/0xa0 io_submit_sqes+0xe6a/0x18d0 ? __fget_light+0xd1/0x100 __x64_sys_io_uring_enter+0x199/0x880 ? __context_tracking_enter+0x1f/0x70 ? irqentry_exit_to_user_mode+0x24/0x30 ? irqentry_exit+0x1d/0x30 ? __context_tracking_exit+0xe/0x70 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc97c11a7be < snip > </TASK> ---[ end trace 48b2e0e67debcaeb ]--- RIP: 0010:internal_get_user_pages_fast+0x340/0x990 < snip > Kernel panic - not syncing: Fatal exception Kernel Offset: disabled
Impacted products
Vendor Product Version
Linux Linux Version: 414fd080d125408cb15d04ff4907e1dd8145c8c7
Version: 414fd080d125408cb15d04ff4907e1dd8145c8c7
Version: 414fd080d125408cb15d04ff4907e1dd8145c8c7
Version: 414fd080d125408cb15d04ff4907e1dd8145c8c7
Version: 414fd080d125408cb15d04ff4907e1dd8145c8c7
Create a notification for this product.
   Linux Linux Version: 5.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-48986",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-10-22T13:17:13.077740Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-10-22T13:18:42.957Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/gup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "04edfa3dc06ecfc6133a33bc7271298782dee875",
              "status": "affected",
              "version": "414fd080d125408cb15d04ff4907e1dd8145c8c7",
              "versionType": "git"
            },
            {
              "lessThan": "f1cf856123ceb766c49967ec79b841030fa1741f",
              "status": "affected",
              "version": "414fd080d125408cb15d04ff4907e1dd8145c8c7",
              "versionType": "git"
            },
            {
              "lessThan": "3ac29732a2ffa64c7de13a072b0f2848b9c11037",
              "status": "affected",
              "version": "414fd080d125408cb15d04ff4907e1dd8145c8c7",
              "versionType": "git"
            },
            {
              "lessThan": "e06d13c36ded750c72521b600293befebb4e56c5",
              "status": "affected",
              "version": "414fd080d125408cb15d04ff4907e1dd8145c8c7",
              "versionType": "git"
            },
            {
              "lessThan": "fcd0ccd836ffad73d98a66f6fea7b16f735ea920",
              "status": "affected",
              "version": "414fd080d125408cb15d04ff4907e1dd8145c8c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/gup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.227",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: fix gup_pud_range() for dax\n\nFor dax pud, pud_huge() returns true on x86. So the function works as long\nas hugetlb is configured. However, dax doesn\u0027t depend on hugetlb.\nCommit 414fd080d125 (\"mm/gup: fix gup_pmd_range() for dax\") fixed\ndevmap-backed huge PMDs, but missed devmap-backed huge PUDs. Fix this as\nwell.\n\nThis fixes the below kernel panic:\n\ngeneral protection fault, probably for non-canonical address 0x69e7c000cc478: 0000 [#1] SMP\n\t\u003c snip \u003e\nCall Trace:\n\u003cTASK\u003e\nget_user_pages_fast+0x1f/0x40\niov_iter_get_pages+0xc6/0x3b0\n? mempool_alloc+0x5d/0x170\nbio_iov_iter_get_pages+0x82/0x4e0\n? bvec_alloc+0x91/0xc0\n? bio_alloc_bioset+0x19a/0x2a0\nblkdev_direct_IO+0x282/0x480\n? __io_complete_rw_common+0xc0/0xc0\n? filemap_range_has_page+0x82/0xc0\ngeneric_file_direct_write+0x9d/0x1a0\n? inode_update_time+0x24/0x30\n__generic_file_write_iter+0xbd/0x1e0\nblkdev_write_iter+0xb4/0x150\n? io_import_iovec+0x8d/0x340\nio_write+0xf9/0x300\nio_issue_sqe+0x3c3/0x1d30\n? sysvec_reschedule_ipi+0x6c/0x80\n__io_queue_sqe+0x33/0x240\n? fget+0x76/0xa0\nio_submit_sqes+0xe6a/0x18d0\n? __fget_light+0xd1/0x100\n__x64_sys_io_uring_enter+0x199/0x880\n? __context_tracking_enter+0x1f/0x70\n? irqentry_exit_to_user_mode+0x24/0x30\n? irqentry_exit+0x1d/0x30\n? __context_tracking_exit+0xe/0x70\ndo_syscall_64+0x3b/0x90\nentry_SYSCALL_64_after_hwframe+0x61/0xcb\nRIP: 0033:0x7fc97c11a7be\n\t\u003c snip \u003e\n\u003c/TASK\u003e\n---[ end trace 48b2e0e67debcaeb ]---\nRIP: 0010:internal_get_user_pages_fast+0x340/0x990\n\t\u003c snip \u003e\nKernel panic - not syncing: Fatal exception\nKernel Offset: disabled"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:11:56.744Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/04edfa3dc06ecfc6133a33bc7271298782dee875"
        },
        {
          "url": "https://git.kernel.org/stable/c/f1cf856123ceb766c49967ec79b841030fa1741f"
        },
        {
          "url": "https://git.kernel.org/stable/c/3ac29732a2ffa64c7de13a072b0f2848b9c11037"
        },
        {
          "url": "https://git.kernel.org/stable/c/e06d13c36ded750c72521b600293befebb4e56c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/fcd0ccd836ffad73d98a66f6fea7b16f735ea920"
        }
      ],
      "title": "mm/gup: fix gup_pud_range() for dax",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-48986",
    "datePublished": "2024-10-21T20:06:02.502Z",
    "dateReserved": "2024-08-22T01:27:53.634Z",
    "dateUpdated": "2024-12-19T08:11:56.744Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-48986\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-10-21T20:15:10.527\",\"lastModified\":\"2024-11-01T15:30:13.770\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmm/gup: fix gup_pud_range() for dax\\n\\nFor dax pud, pud_huge() returns true on x86. So the function works as long\\nas hugetlb is configured. However, dax doesn\u0027t depend on hugetlb.\\nCommit 414fd080d125 (\\\"mm/gup: fix gup_pmd_range() for dax\\\") fixed\\ndevmap-backed huge PMDs, but missed devmap-backed huge PUDs. Fix this as\\nwell.\\n\\nThis fixes the below kernel panic:\\n\\ngeneral protection fault, probably for non-canonical address 0x69e7c000cc478: 0000 [#1] SMP\\n\\t\u003c snip \u003e\\nCall Trace:\\n\u003cTASK\u003e\\nget_user_pages_fast+0x1f/0x40\\niov_iter_get_pages+0xc6/0x3b0\\n? mempool_alloc+0x5d/0x170\\nbio_iov_iter_get_pages+0x82/0x4e0\\n? bvec_alloc+0x91/0xc0\\n? bio_alloc_bioset+0x19a/0x2a0\\nblkdev_direct_IO+0x282/0x480\\n? __io_complete_rw_common+0xc0/0xc0\\n? filemap_range_has_page+0x82/0xc0\\ngeneric_file_direct_write+0x9d/0x1a0\\n? inode_update_time+0x24/0x30\\n__generic_file_write_iter+0xbd/0x1e0\\nblkdev_write_iter+0xb4/0x150\\n? io_import_iovec+0x8d/0x340\\nio_write+0xf9/0x300\\nio_issue_sqe+0x3c3/0x1d30\\n? sysvec_reschedule_ipi+0x6c/0x80\\n__io_queue_sqe+0x33/0x240\\n? fget+0x76/0xa0\\nio_submit_sqes+0xe6a/0x18d0\\n? __fget_light+0xd1/0x100\\n__x64_sys_io_uring_enter+0x199/0x880\\n? __context_tracking_enter+0x1f/0x70\\n? irqentry_exit_to_user_mode+0x24/0x30\\n? irqentry_exit+0x1d/0x30\\n? __context_tracking_exit+0xe/0x70\\ndo_syscall_64+0x3b/0x90\\nentry_SYSCALL_64_after_hwframe+0x61/0xcb\\nRIP: 0033:0x7fc97c11a7be\\n\\t\u003c snip \u003e\\n\u003c/TASK\u003e\\n---[ end trace 48b2e0e67debcaeb ]---\\nRIP: 0010:internal_get_user_pages_fast+0x340/0x990\\n\\t\u003c snip \u003e\\nKernel panic - not syncing: Fatal exception\\nKernel Offset: disabled\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/gup: fix gup_pud_range() for dax Para dax pud, pud_huge() devuelve true en x86. Por lo tanto, la funci\u00f3n funciona siempre que hugetlb est\u00e9 configurado. Sin embargo, dax no depende de hugetlb. el commit 414fd080d125 (\\\"mm/gup: fix gup_pmd_range() for dax\\\") corrigi\u00f3 los PMD enormes respaldados por devmap, pero omiti\u00f3 los PUD enormes respaldados por devmap. Corrija esto tambi\u00e9n. Esto corrige el siguiente p\u00e1nico del kernel: error de protecci\u00f3n general, probablemente para la direcci\u00f3n no can\u00f3nica 0x69e7c000cc478: 0000 [#1] SMP \u0026lt; snip \u0026gt; Call Trace:  get_user_pages_fast+0x1f/0x40 iov_iter_get_pages+0xc6/0x3b0 ? mempool_alloc+0x5d/0x170 bio_iov_iter_get_pages+0x82/0x4e0 ? bvec_alloc+0x91/0xc0 ? bio_alloc_bioset+0x19a/0x2a0 blkdev_direct_IO+0x282/0x480 ? __io_complete_rw_common+0xc0/0xc0 ? filemap_range_has_page+0x82/0xc0 generic_file_direct_write+0x9d/0x1a0? inode_update_time+0x24/0x30 __generic_file_write_iter+0xbd/0x1e0 blkdev_write_iter+0xb4/0x150 ? io_import_iovec+0x8d/0x340 io_write+0xf9/0x300 io_issue_sqe+0x3c3/0x1d30 ? sysvec_reschedule_ipi+0x6c/0x80 __io_queue_sqe+0x33/0x240 ? fget+0x76/0xa0 io_submit_sqes+0xe6a/0x18d0 ? __fget_light+0xd1/0x100 __x64_sys_io_uring_enter+0x199/0x880 ? __context_tracking_enter+0x1f/0x70 ? irqentry_exit_to_user_mode+0x24/0x30 ? irqentry_exit+0x1d/0x30 ? __context_tracking_exit+0xe/0x70 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc97c11a7be \u0026lt; snip \u0026gt;  ---[ fin del seguimiento 48b2e0e67debcaeb ]--- RIP: 0010:internal_get_user_pages_fast+0x340/0x990 \u0026lt; snip \u0026gt; P\u00e1nico del n\u00facleo: no se sincroniza: Excepci\u00f3n fatal Desplazamiento del n\u00facleo: deshabilitado\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.9.165\",\"versionEndExcluding\":\"4.10\",\"matchCriteriaId\":\"03D696FD-2217-4673-A661-651833DB97FD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.14.108\",\"versionEndExcluding\":\"4.15\",\"matchCriteriaId\":\"8EA0A3D7-55DF-4AF3-90C1-D65B1FFBF3BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.19.31\",\"versionEndExcluding\":\"4.20\",\"matchCriteriaId\":\"C208F54A-1F85-44EF-9E91-6DA461A49CA0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.0\",\"versionEndExcluding\":\"5.4.227\",\"matchCriteriaId\":\"75ADB045-951E-4837-969B-C2C77523AD98\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.159\",\"matchCriteriaId\":\"7318B597-DFFD-4BBC-A947-539D6E30D82A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.83\",\"matchCriteriaId\":\"90897BD1-104D-4CFF-94F5-29F9041217FB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.0.13\",\"matchCriteriaId\":\"389392A7-81C4-4C26-884B-8C7CF0F53DA4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"E7E331DA-1FB0-4DEC-91AC-7DA69D461C11\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"17F0B248-42CF-4AE6-A469-BB1BAE7F4705\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"E2422816-0C14-4B5E-A1E6-A9D776E5C49B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"1C6E00FE-5FB9-4D20-A1A1-5A32128F9B76\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"35B26BE4-43A6-4A36-A7F6-5B3F572D9186\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"3FFFB0B3-930D-408A-91E2-BAE0C2715D80\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*\",\"matchCriteriaId\":\"8535320E-A0DB-4277-800E-D0CE5BBA59E8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.1:rc8:*:*:*:*:*:*\",\"matchCriteriaId\":\"21718AA4-4056-40F2-968E-BDAA465A7872\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/04edfa3dc06ecfc6133a33bc7271298782dee875\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/3ac29732a2ffa64c7de13a072b0f2848b9c11037\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e06d13c36ded750c72521b600293befebb4e56c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f1cf856123ceb766c49967ec79b841030fa1741f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/fcd0ccd836ffad73d98a66f6fea7b16f735ea920\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-48986\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-10-22T13:17:13.077740Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-10-22T13:17:16.285Z\"}}], \"cna\": {\"title\": \"mm/gup: fix gup_pud_range() for dax\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"414fd080d125408cb15d04ff4907e1dd8145c8c7\", \"lessThan\": \"04edfa3dc06ecfc6133a33bc7271298782dee875\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"414fd080d125408cb15d04ff4907e1dd8145c8c7\", \"lessThan\": \"f1cf856123ceb766c49967ec79b841030fa1741f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"414fd080d125408cb15d04ff4907e1dd8145c8c7\", \"lessThan\": \"3ac29732a2ffa64c7de13a072b0f2848b9c11037\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"414fd080d125408cb15d04ff4907e1dd8145c8c7\", \"lessThan\": \"e06d13c36ded750c72521b600293befebb4e56c5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"414fd080d125408cb15d04ff4907e1dd8145c8c7\", \"lessThan\": \"fcd0ccd836ffad73d98a66f6fea7b16f735ea920\", \"versionType\": \"git\"}], \"programFiles\": [\"mm/gup.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.0\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.0\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.227\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.83\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.13\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"mm/gup.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/04edfa3dc06ecfc6133a33bc7271298782dee875\"}, {\"url\": \"https://git.kernel.org/stable/c/f1cf856123ceb766c49967ec79b841030fa1741f\"}, {\"url\": \"https://git.kernel.org/stable/c/3ac29732a2ffa64c7de13a072b0f2848b9c11037\"}, {\"url\": \"https://git.kernel.org/stable/c/e06d13c36ded750c72521b600293befebb4e56c5\"}, {\"url\": \"https://git.kernel.org/stable/c/fcd0ccd836ffad73d98a66f6fea7b16f735ea920\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmm/gup: fix gup_pud_range() for dax\\n\\nFor dax pud, pud_huge() returns true on x86. So the function works as long\\nas hugetlb is configured. However, dax doesn\u0027t depend on hugetlb.\\nCommit 414fd080d125 (\\\"mm/gup: fix gup_pmd_range() for dax\\\") fixed\\ndevmap-backed huge PMDs, but missed devmap-backed huge PUDs. Fix this as\\nwell.\\n\\nThis fixes the below kernel panic:\\n\\ngeneral protection fault, probably for non-canonical address 0x69e7c000cc478: 0000 [#1] SMP\\n\\t\u003c snip \u003e\\nCall Trace:\\n\u003cTASK\u003e\\nget_user_pages_fast+0x1f/0x40\\niov_iter_get_pages+0xc6/0x3b0\\n? mempool_alloc+0x5d/0x170\\nbio_iov_iter_get_pages+0x82/0x4e0\\n? bvec_alloc+0x91/0xc0\\n? bio_alloc_bioset+0x19a/0x2a0\\nblkdev_direct_IO+0x282/0x480\\n? __io_complete_rw_common+0xc0/0xc0\\n? filemap_range_has_page+0x82/0xc0\\ngeneric_file_direct_write+0x9d/0x1a0\\n? inode_update_time+0x24/0x30\\n__generic_file_write_iter+0xbd/0x1e0\\nblkdev_write_iter+0xb4/0x150\\n? io_import_iovec+0x8d/0x340\\nio_write+0xf9/0x300\\nio_issue_sqe+0x3c3/0x1d30\\n? sysvec_reschedule_ipi+0x6c/0x80\\n__io_queue_sqe+0x33/0x240\\n? fget+0x76/0xa0\\nio_submit_sqes+0xe6a/0x18d0\\n? __fget_light+0xd1/0x100\\n__x64_sys_io_uring_enter+0x199/0x880\\n? __context_tracking_enter+0x1f/0x70\\n? irqentry_exit_to_user_mode+0x24/0x30\\n? irqentry_exit+0x1d/0x30\\n? __context_tracking_exit+0xe/0x70\\ndo_syscall_64+0x3b/0x90\\nentry_SYSCALL_64_after_hwframe+0x61/0xcb\\nRIP: 0033:0x7fc97c11a7be\\n\\t\u003c snip \u003e\\n\u003c/TASK\u003e\\n---[ end trace 48b2e0e67debcaeb ]---\\nRIP: 0010:internal_get_user_pages_fast+0x340/0x990\\n\\t\u003c snip \u003e\\nKernel panic - not syncing: Fatal exception\\nKernel Offset: disabled\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T08:11:56.744Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-48986\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T08:11:56.744Z\", \"dateReserved\": \"2024-08-22T01:27:53.634Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-10-21T20:06:02.502Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.