In the Linux kernel, the following vulnerability has been resolved:
KVM: s390: Fix gmap_helper_zap_one_page() again
A few checks were missing in gmap_helper_zap_one_page(), which can lead
to memory corruption in the guest under specific circumstances.
Add the missing checks.
CVE-2025-71155 is a memory corruption vulnerability in the Linux kernel's KVM s390 implementation affecting the gmap_helper_zap_one_page() function. Missing validation checks can lead to guest memory corruption under specific circumstances. This vulnerability requires local access and affects systems running vulnerable Linux kernel versions on s390 architecture.
Immediate Actions:
1. Identify systems running Linux kernel on s390 architecture with KVM enabled
2. Check kernel version against vulnerable versions (typically pre-6.x series with the unfixed gmap_helper_zap_one_page function)
3. Restrict local access to KVM hypervisor management interfaces
Patching Guidance:
1. Apply the latest Linux kernel security patch that includes the gmap_helper_zap_one_page() fix
2. Test patches in non-production environments first, particularly for critical banking/government systems
3. Schedule maintenance windows for kernel updates on production s390 systems
4. Verify patch application: grep 'gmap_helper_zap_one_page' in kernel changelog
Compensating Controls (if immediate patching not possible):
1. Implement strict access controls to KVM management interfaces
2. Disable KVM on non-essential s390 systems
3. Isolate s390 virtualization hosts on separate network segments
4. Monitor for unusual memory access patterns in guest VMs
Detection Rules:
1. Monitor kernel logs for memory corruption warnings or page fault anomalies
2. Alert on unexpected guest VM crashes or memory errors
3. Track unauthorized attempts to access KVM management interfaces
4. Monitor for guest-to-host escape attempts using SELinux/AppArmor logs
الإجراءات الفورية:
1. تحديد الأنظمة التي تقوم بتشغيل نواة لينكس على معمارية s390 مع تفعيل KVM
2. التحقق من إصدار النواة مقابل الإصدارات المعرضة للخطر
3. تقييد الوصول المحلي إلى واجهات إدارة KVM
إرشادات التصحيح:
1. تطبيق أحدث تصحيح أمان نواة لينكس يتضمن إصلاح gmap_helper_zap_one_page()
2. اختبار التصحيحات في بيئات غير الإنتاج أولاً
3. جدولة نوافذ الصيانة لتحديثات النواة على أنظمة s390 الإنتاجية
4. التحقق من تطبيق التصحيح
الضوابط البديلة:
1. تطبيق ضوابط وصول صارمة على واجهات إدارة KVM
2. تعطيل KVM على أنظمة s390 غير الأساسية
3. عزل مضيفي افتراضية s390 على قطاعات شبكة منفصلة
4. مراقبة أنماط الوصول غير العادية للذاكرة في الأجهزة الافتراضية الضيفة
قواعد الكشف:
1. مراقبة سجلات النواة للتحذيرات من تلف الذاكرة
2. التنبيه على أعطال الأجهزة الافتراضية غير المتوقعة
3. تتبع محاولات الوصول غير المصرح بها
4. مراقبة محاولات الهروب من الضيف إلى المضيف