{"id":65881,"date":"2025-07-09T16:33:07","date_gmt":"2025-07-09T13:03:07","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38257-ibm-s390-memory-corruption-vulnerability\/"},"modified":"2025-07-09T16:33:07","modified_gmt":"2025-07-09T13:03:07","slug":"cve-2025-38257-ibm-s390-memory-corruption-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38257-ibm-s390-memory-corruption-vulnerability\/","title":{"rendered":"CVE-2025-38257 &#8211; IBM s390 Memory Corruption Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38257<br \/>\n<br \/>\n<strong>Published : <\/strong> July 9, 2025, 11:15 a.m. | 49\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>s390\/pkey: Prevent overflow in size calculation for memdup_user()<\/p>\n<p>Number of apqn target list entries contained in &#8216;nr_apqns&#8217; variable is<br \/>\ndetermined by userspace via an ioctl call so the result of the product in<br \/>\ncalculation of size passed to memdup_user() may overflow.<\/p>\n<p>In this case the actual size of the allocated area and the value<br \/>\ndescribing it won&#8217;t be in sync leading to various types of unpredictable<br \/>\nbehaviour later.<\/p>\n<p>Use a proper memdup_array_user() helper which returns an error if an<br \/>\noverflow is detected. Note that it is different from when nr_apqns is<br \/>\ninitially zero &#8211; that case is considered valid and should be handled in<br \/>\nsubsequent pkey_handler implementations.<\/p>\n<p>Found by Linux Verification Center (linuxtesting.org).<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-38257 Published : July 9, 2025, 11:15 a.m. | 49\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: s390\/pkey: Prevent overflow in size calculation for memdup_user() Number of apqn target list entries contained in &#8216;nr_apqns&#8217; variable is determined by userspace via an ioctl call so the result &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-65881","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=65881"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65881\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}