FreeBSD -- Lost mbuf flag resulting in data corruption

2010-07-13T00:00:00
ID 7A09A8DF-CA41-11DF-AADE-0050568F000C
Type freebsd
Reporter FreeBSD
Modified 2016-08-09T00:00:00

Description

Problem Description: The read-only flag is not correctly copied when a mbuf buffer reference is duplicated. When the sendfile(2) system call is used to transmit data over the loopback interface, this can result in the backing pages for the transmitted file being modified, causing data corruption.