cve-2024-35882
Vulnerability from cvelistv5
Published
2024-05-19 08:34
Modified
2024-12-19 08:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP Jan Schunk reports that his small NFS servers suffer from memory exhaustion after just a few days. A bisect shows that commit e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call") is the first bad commit. That commit assumed that sock_sendmsg() releases all the pages in the underlying bio_vec array, but the reality is that it doesn't. svc_xprt_release() releases the rqst's response pages, but the record marker page fragment isn't one of those, so it is never released. This is a narrow fix that can be applied to stable kernels. A more extensive fix is in the works.
Impacted products
Vendor Product Version
Linux Linux Version: e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4
Version: e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4
Version: e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4
Create a notification for this product.
   Linux Linux Version: 6.6
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-35882",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-05-20T17:12:02.633258Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-06-04T17:34:45.656Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T03:21:48.421Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/sunrpc/svcsock.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "1ba1291172f935e6b6fe703161a948f3347400b8",
                     status: "affected",
                     version: "e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4",
                     versionType: "git",
                  },
                  {
                     lessThan: "a2ebedf7bcd17a1194a0a18122c885eb578ee882",
                     status: "affected",
                     version: "e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4",
                     versionType: "git",
                  },
                  {
                     lessThan: "05258a0a69b3c5d2c003f818702c0a52b6fea861",
                     status: "affected",
                     version: "e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/sunrpc/svcsock.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "6.6",
                  },
                  {
                     lessThan: "6.6",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.6.*",
                     status: "unaffected",
                     version: "6.6.26",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.8.*",
                     status: "unaffected",
                     version: "6.8.5",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.9",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Fix a slow server-side memory leak with RPC-over-TCP\n\nJan Schunk reports that his small NFS servers suffer from memory\nexhaustion after just a few days. A bisect shows that commit\ne18e157bb5c8 (\"SUNRPC: Send RPC message on TCP with a single\nsock_sendmsg() call\") is the first bad commit.\n\nThat commit assumed that sock_sendmsg() releases all the pages in\nthe underlying bio_vec array, but the reality is that it doesn't.\nsvc_xprt_release() releases the rqst's response pages, but the\nrecord marker page fragment isn't one of those, so it is never\nreleased.\n\nThis is a narrow fix that can be applied to stable kernels. A\nmore extensive fix is in the works.",
            },
         ],
         providerMetadata: {
            dateUpdated: "2024-12-19T08:57:27.780Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8",
            },
            {
               url: "https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882",
            },
            {
               url: "https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861",
            },
         ],
         title: "SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2024-35882",
      datePublished: "2024-05-19T08:34:39.185Z",
      dateReserved: "2024-05-17T13:50:33.112Z",
      dateUpdated: "2024-12-19T08:57:27.780Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2024-35882\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-19T09:15:09.447\",\"lastModified\":\"2024-11-21T09:21:07.143\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nSUNRPC: Fix a slow server-side memory leak with RPC-over-TCP\\n\\nJan Schunk reports that his small NFS servers suffer from memory\\nexhaustion after just a few days. A bisect shows that commit\\ne18e157bb5c8 (\\\"SUNRPC: Send RPC message on TCP with a single\\nsock_sendmsg() call\\\") is the first bad commit.\\n\\nThat commit assumed that sock_sendmsg() releases all the pages in\\nthe underlying bio_vec array, but the reality is that it doesn't.\\nsvc_xprt_release() releases the rqst's response pages, but the\\nrecord marker page fragment isn't one of those, so it is never\\nreleased.\\n\\nThis is a narrow fix that can be applied to stable kernels. A\\nmore extensive fix is in the works.\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Revertir \\\"drm/amd/display: Enviar mensaje de desactivación DTBCLK en la primera confirmación\\\" Esto revierte la confirmación f341055b10bd8be55c3c995dff5f770b236b8ca9. Se observó un bloqueo del sistema; se cree que este compromiso es el punto de regresión.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
      vulnrichment: {
         containers: "{\"cna\": {\"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-05-29T05:30:37.790Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nSUNRPC: Fix a slow server-side memory leak with RPC-over-TCP\\n\\nJan Schunk reports that his small NFS servers suffer from memory\\nexhaustion after just a few days. A bisect shows that commit\\ne18e157bb5c8 (\\\"SUNRPC: Send RPC message on TCP with a single\\nsock_sendmsg() call\\\") is the first bad commit.\\n\\nThat commit assumed that sock_sendmsg() releases all the pages in\\nthe underlying bio_vec array, but the reality is that it doesn't.\\nsvc_xprt_release() releases the rqst's response pages, but the\\nrecord marker page fragment isn't one of those, so it is never\\nreleased.\\n\\nThis is a narrow fix that can be applied to stable kernels. A\\nmore extensive fix is in the works.\"}], \"affected\": [{\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"unaffected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"net/sunrpc/svcsock.c\"], \"versions\": [{\"version\": \"e18e157bb5c8\", \"lessThan\": \"1ba1291172f9\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"e18e157bb5c8\", \"lessThan\": \"a2ebedf7bcd1\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"e18e157bb5c8\", \"lessThan\": \"05258a0a69b3\", \"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/sunrpc/svcsock.c\"], \"versions\": [{\"version\": \"6.6\", \"status\": \"affected\"}, {\"version\": \"0\", \"lessThan\": \"6.6\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.6.26\", \"lessThanOrEqual\": \"6.6.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.8.5\", \"lessThanOrEqual\": \"6.8.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.9\", \"lessThanOrEqual\": \"*\", \"status\": \"unaffected\", \"versionType\": \"original_commit_for_fix\"}]}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8\"}, {\"url\": \"https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882\"}, {\"url\": \"https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861\"}], \"title\": \"SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP\", \"x_generator\": {\"engine\": \"bippy-a5840b7849dd\"}}, \"adp\": [{\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35882\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-20T17:12:02.633258Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.019Z\"}, \"title\": \"CISA ADP Vulnrichment\"}]}",
         cveMetadata: "{\"cveId\": \"CVE-2024-35882\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Linux\", \"dateReserved\": \"2024-05-17T13:50:33.112Z\", \"datePublished\": \"2024-05-19T08:34:39.185Z\", \"dateUpdated\": \"2024-06-04T17:34:45.656Z\"}",
         dataType: "CVE_RECORD",
         dataVersion: "5.1",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.