You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In functions nova_seq_delete_snapshot and nova_seq_test_perf, NOVA directly sscanf from the user's buffer, which is unsafe and could cause Segment Fault sometimes. Instead, in the function nova_seq_gc, NOVA copies the buffer from the user space to kernel space before sscanf the content.
Issue
In functions
nova_seq_delete_snapshot
andnova_seq_test_perf
, NOVA directlysscanf
from the user's buffer, which is unsafe and could cause Segment Fault sometimes. Instead, in the functionnova_seq_gc
, NOVA copies the buffer from the user space to kernel space beforesscanf
the content.linux-nova/fs/nova/sysfs.c
Lines 317 to 329 in 976a4d1
linux-nova/fs/nova/sysfs.c
Lines 377 to 392 in 976a4d1
linux-nova/fs/nova/sysfs.c
Lines 419 to 448 in 976a4d1
Fix
copy_from_user
beforesscanf
.The text was updated successfully, but these errors were encountered: