於 二,2012-12-25 於 12:13 +0800,joeyli 提到: > > > This is what efivarfs_unlink is doing but I wanted to avoid its > > underflowing when reproducing this. > > > > This still reproduces the bug and passes the check in your patch: > > > > echo -en "\x07\0\0\0" >$p/test-12341234-1234-1234-1234-123412341234 > > I can NOT reproduce issue by feeding "\x07\0\0\0" to variable on my > system, the test variable was been deleted normally. > > My 2 testing environment: > + qemu-kvm with OVMF-0.1+r13902-1.1.x86_64 on openSUSE > + Intel DQ57TM board (Tunnel Mountain) with B.11 UEFI BIOS > > Kernel version is: > + latest commit is 54e37b8dbe on Linus kernel tree > with > my patch for check attributes need define bootservice and > runtime access > > I can not reproduce on OVMF and Intel DQ57TM board. After I delete > variable, I also umount/mount filesystem a couple of times and > write/delete again, didn't reproduce issue. > > Maybe you can try v3.8-rc1 kernel. hm... I just re-test and do more times, I also can reproduce on v3.8-rc1 and 54e37b8dbe branch now. Thanks Joey Lee -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html