Skip to contentSkip to conversation

SECURITY,VFS,2.4: local denial-of-service with file lease

PATCH New Horms 1 participant 1 message Dec 19, 2005

Subsystems (2)
lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 SECURITY,VFS,2.4: local denial-of-service with file lease

[PATCH] VFS: local denial-of-service with file leases

Remove time_out_leases() printk that's easily triggered by users.

Above is the signoff information for f3a9388e4ebea57583272007311fffa26ebbb305 included in Linus's 2.6 tree. As this is CVE-2005-3857 I am proposing its inclusion in 2.4

fs/locks.c +0 -1
index 370ed4c..2f21d25 100644
@@ -1087,7 +1087,6 @@ static void time_out_leases(struct inode
 			before = &fl->fl_next;
 			continue;
 		}
-		printk(KERN_INFO "lease broken - owner pid = %d\n", fl->fl_pid);
 		lease_modify(before, fl->fl_type & ~F_INPROGRESS);
 		if (fl == *before)	/* lease_modify may have freed fl */
 			before = &fl->fl_next;