Project

General

Profile

Actions

Bug #6161

closed

zero-sized kmem_alloc() in zfs`spa_load_l2cache

Added by Alexander Kolbasov almost 6 years ago. Updated about 6 hours ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2015-08-24
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The illumos-based system crashed with

attempted to kmem_alloc() size of 0
ffffff007aee8a00 vpanic()
ffffff007aee8a40 0xfffffffffbdb1bfe()
ffffff007aee8ad0 spa_load_l2cache+0x92(ffffff17c21c3000)
ffffff007aee8b60 spa_vdev_remove+0x25d(ffffff17c21c3000, 6e9a6f1dbde5bc2d, 0)
ffffff007aee8bb0 zfs_ioc_vdev_remove+0x39(ffffff18b7e11000)
ffffff007aee8c60 zfsdev_ioctl+0x4ff(a500000000, 5a0c, febcca68, 100003, ffffff1229561108, ffffff007aee8e48)
ffffff007aee8ca0 cdev_ioctl+0x39(a500000000, 5a0c, febcca68, 100003, ffffff1229561108, ffffff007aee8e48)
ffffff007aee8cf0 spec_ioctl+0x60(ffffff1225c2df00, 5a0c, febcca68, 100003, ffffff1229561108, ffffff007aee8e48, 0)
ffffff007aee8d80 fop_ioctl+0x55(ffffff1225c2df00, 5a0c, febcca68, 100003, ffffff1229561108, ffffff007aee8e48, 0)
ffffff007aee8ea0 ioctl+0x9b(9, 5a0c, febcca68)
ffffff007aee8f00 _sys_sysenter_post_swapgs+0x241()

Related issues

Has duplicate illumos gate - Bug #12054: spa_load_l2cache() can zero-length allocateDuplicate

Actions
Has duplicate illumos gate - Bug #13933: zero-sized kmem_alloc() in zfs`spa_load_l2cacheDuplicate

Actions
Actions

Also available in: Atom PDF